diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/catalog.json b/catalog.json new file mode 100644 index 00000000..8ca8944a --- /dev/null +++ b/catalog.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.3", "generated_at": "2024-07-18T20:39:04.552887Z", "invocation_id": "c4d9800a-0748-42c4-9bde-765aa21c4ba9", "env": {}}, "nodes": {"model.synthetix.fct_core_account_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet"}, "model.synthetix.fct_core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_pools_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pools_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet"}, "model.synthetix.fct_pool_debt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"}, "model.synthetix.fct_prices_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "character varying", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet"}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet"}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet"}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet"}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet"}, "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_delegation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia"}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia"}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"}, "model.synthetix.fct_core_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_market_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia"}, "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_collateral_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"}, "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_delegation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"}, "model.synthetix.fct_core_pools_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pools_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia"}, "model.synthetix.fct_pool_debt_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_debt_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia"}, "model.synthetix.fct_pool_issuance_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia"}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"}, "model.synthetix.fct_prices_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "character varying", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_arbitrum_sepolia"}, "model.synthetix.fct_prices_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia"}, "model.synthetix.fct_spot_atomics_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_atomics_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia"}, "model.synthetix.fct_spot_markets_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_markets_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia"}, "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_wrapper_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia"}, "model.synthetix.fct_synth_supply_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_synth_supply_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia"}, "model.synthetix.fct_buyback_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_mainnet"}, "model.synthetix.fct_buyback_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet"}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet"}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet"}, "model.synthetix.fct_core_apr_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_mainnet"}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet"}, "model.synthetix.fct_core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet"}, "model.synthetix.fct_core_pool_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet"}, "model.synthetix.fct_core_pool_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet"}, "model.synthetix.fct_core_pools_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pools_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_base_mainnet"}, "model.synthetix.fct_core_vault_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet"}, "model.synthetix.fct_perp_account_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "fees": {"type": "numeric", "index": 3, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 4, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 5, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 6, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 7, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 8, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "fees": {"type": "numeric", "index": 4, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 5, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 6, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 7, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 8, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 9, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_accounts_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_accounts_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet"}, "model.synthetix.fct_perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet"}, "model.synthetix.fct_perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "interest": {"type": "numeric", "index": 8, "name": "interest", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "numeric", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "bigint", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_liq_account_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_account_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "total_reward": {"type": "numeric", "index": 3, "name": "total_reward", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet"}, "model.synthetix.fct_perp_liq_position_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_position_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 9, "name": "position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet"}, "model.synthetix.fct_perp_market_history_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_history_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "funding_rate": {"type": "numeric", "index": 11, "name": "funding_rate", "comment": null}, "funding_velocity": {"type": "numeric", "index": 12, "name": "funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 13, "name": "interest_rate", "comment": null}, "funding_rate_apr": {"type": "numeric", "index": 14, "name": "funding_rate_apr", "comment": null}, "long_rate_apr": {"type": "numeric", "index": 15, "name": "long_rate_apr", "comment": null}, "short_rate_apr": {"type": "numeric", "index": 16, "name": "short_rate_apr", "comment": null}, "size_usd": {"type": "numeric", "index": 17, "name": "size_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 18, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 19, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 20, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 21, "name": "short_oi_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet"}, "model.synthetix.fct_perp_market_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 5, "name": "market_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_markets_base_mainnet"}, "model.synthetix.fct_perp_orders_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_orders_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "settlement_time": {"type": "numeric", "index": 12, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 13, "name": "expiration_time", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_orders_base_mainnet"}, "model.synthetix.fct_perp_pnl_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_pnl_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_id": {"type": "integer", "index": 2, "name": "market_id", "comment": null}, "market_pnl": {"type": "numeric", "index": 3, "name": "market_pnl", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet"}, "model.synthetix.fct_perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet"}, "model.synthetix.fct_perp_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "numeric", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "numeric", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "bigint", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_trades_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_trades_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "pnl": {"type": "numeric", "index": 10, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 11, "name": "accrued_funding", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "position_size": {"type": "numeric", "index": 13, "name": "position_size", "comment": null}, "total_fees": {"type": "numeric", "index": 14, "name": "total_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 15, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 16, "name": "collected_fees", "comment": null}, "settlement_reward": {"type": "numeric", "index": 17, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 18, "name": "tracking_code", "comment": null}, "settler": {"type": "text", "index": 19, "name": "settler", "comment": null}, "notional_trade_size": {"type": "numeric", "index": 20, "name": "notional_trade_size", "comment": null}, "notional_position_size": {"type": "numeric", "index": 21, "name": "notional_position_size", "comment": null}, "lp_fees": {"type": "numeric", "index": 22, "name": "lp_fees", "comment": null}, "exchange_fees": {"type": "numeric", "index": 23, "name": "exchange_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_trades_base_mainnet"}, "model.synthetix.fct_pool_debt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_base_mainnet"}, "model.synthetix.fct_pool_issuance_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"}, "model.synthetix.fct_pool_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_token_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"}, "model.synthetix.fct_prices_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "text", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_base_mainnet"}, "model.synthetix.fct_prices_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet"}, "model.synthetix.fct_spot_atomics_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet"}, "model.synthetix.fct_spot_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet"}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet"}, "model.synthetix.fct_synth_supply_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet"}, "model.synthetix.fct_buyback_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_sepolia"}, "model.synthetix.fct_buyback_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia"}, "model.synthetix.fct_buyback_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia"}, "model.synthetix.fct_core_account_delegation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_account_delegation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia"}, "model.synthetix.fct_core_apr_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_sepolia"}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia"}, "model.synthetix.fct_core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia"}, "model.synthetix.fct_core_pool_collateral_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pool_collateral_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia"}, "model.synthetix.fct_core_pool_delegation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pool_delegation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia"}, "model.synthetix.fct_core_pools_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pools_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_base_sepolia"}, "model.synthetix.fct_perp_account_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "fees": {"type": "numeric", "index": 3, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 4, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 5, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 6, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 7, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 8, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "fees": {"type": "numeric", "index": 4, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 5, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 6, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 7, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 8, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 9, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_accounts_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_accounts_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia"}, "model.synthetix.fct_perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia"}, "model.synthetix.fct_perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "interest": {"type": "numeric", "index": 8, "name": "interest", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia"}, "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "numeric", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "bigint", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_liq_account_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_liq_account_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "total_reward": {"type": "numeric", "index": 3, "name": "total_reward", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia"}, "model.synthetix.fct_perp_liq_position_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_liq_position_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 9, "name": "position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia"}, "model.synthetix.fct_perp_market_history_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_history_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "funding_rate": {"type": "numeric", "index": 11, "name": "funding_rate", "comment": null}, "funding_velocity": {"type": "numeric", "index": 12, "name": "funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 13, "name": "interest_rate", "comment": null}, "funding_rate_apr": {"type": "numeric", "index": 14, "name": "funding_rate_apr", "comment": null}, "long_rate_apr": {"type": "numeric", "index": 15, "name": "long_rate_apr", "comment": null}, "short_rate_apr": {"type": "numeric", "index": 16, "name": "short_rate_apr", "comment": null}, "size_usd": {"type": "numeric", "index": 17, "name": "size_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 18, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 19, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 20, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 21, "name": "short_oi_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia"}, "model.synthetix.fct_perp_market_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_markets_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_markets_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 5, "name": "market_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_markets_base_sepolia"}, "model.synthetix.fct_perp_orders_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_orders_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "settlement_time": {"type": "numeric", "index": 12, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 13, "name": "expiration_time", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_orders_base_sepolia"}, "model.synthetix.fct_perp_pnl_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_pnl_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_id": {"type": "integer", "index": 2, "name": "market_id", "comment": null}, "market_pnl": {"type": "numeric", "index": 3, "name": "market_pnl", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia"}, "model.synthetix.fct_perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia"}, "model.synthetix.fct_perp_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "numeric", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "numeric", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "bigint", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_trades_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_trades_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "pnl": {"type": "numeric", "index": 10, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 11, "name": "accrued_funding", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "position_size": {"type": "numeric", "index": 13, "name": "position_size", "comment": null}, "total_fees": {"type": "numeric", "index": 14, "name": "total_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 15, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 16, "name": "collected_fees", "comment": null}, "settlement_reward": {"type": "numeric", "index": 17, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 18, "name": "tracking_code", "comment": null}, "settler": {"type": "text", "index": 19, "name": "settler", "comment": null}, "notional_trade_size": {"type": "numeric", "index": 20, "name": "notional_trade_size", "comment": null}, "notional_position_size": {"type": "numeric", "index": 21, "name": "notional_position_size", "comment": null}, "lp_fees": {"type": "numeric", "index": 22, "name": "lp_fees", "comment": null}, "exchange_fees": {"type": "numeric", "index": 23, "name": "exchange_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_trades_base_sepolia"}, "model.synthetix.fct_pool_debt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_debt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_base_sepolia"}, "model.synthetix.fct_pool_issuance_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia"}, "model.synthetix.fct_pool_issuance_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"}, "model.synthetix.fct_pool_rewards_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia"}, "model.synthetix.fct_pool_rewards_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia"}, "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_token_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"}, "model.synthetix.fct_prices_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_prices_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "text", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_base_sepolia"}, "model.synthetix.fct_prices_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_prices_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia"}, "model.synthetix.fct_spot_atomics_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_atomics_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia"}, "model.synthetix.fct_spot_markets_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_markets_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_sepolia"}, "model.synthetix.fct_spot_wrapper_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_wrapper_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia"}, "model.synthetix.fct_synth_supply_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_synth_supply_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_sepolia"}, "model.synthetix.blocks_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_mainnet"}, "model.synthetix.core_account_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet"}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet"}, "model.synthetix.core_deposited_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_deposited_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet"}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet"}, "model.synthetix.core_market_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet"}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet"}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet"}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet"}, "model.synthetix.core_rewards_distributed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_distributed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet"}, "model.synthetix.core_usd_burned_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_burned_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet"}, "model.synthetix.core_usd_minted_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_minted_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet"}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet"}, "model.synthetix.core_vault_debt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet"}, "model.synthetix.core_vault_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet"}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet"}, "model.synthetix.spot_order_cancelled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_cancelled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet"}, "model.synthetix.spot_order_committed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_committed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet"}, "model.synthetix.spot_order_settled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_settled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet"}, "model.synthetix.spot_synth_bought_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_bought_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet"}, "model.synthetix.spot_synth_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet"}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet"}, "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_unwrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"}, "model.synthetix.blocks_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "blocks_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_sepolia"}, "model.synthetix.core_account_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_account_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia"}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia"}, "model.synthetix.core_deposited_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_deposited_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia"}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia"}, "model.synthetix.core_market_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia"}, "model.synthetix.core_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia"}, "model.synthetix.core_pool_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_pool_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia"}, "model.synthetix.core_rewards_claimed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_claimed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia"}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia"}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia"}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia"}, "model.synthetix.core_vault_collateral_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_collateral_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia"}, "model.synthetix.core_vault_debt_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_debt_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia"}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia"}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia"}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia"}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia"}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia"}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia"}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia"}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia"}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"}, "model.synthetix.blocks_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_mainnet"}, "model.synthetix.buyback_processed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_mainnet"}, "model.synthetix.core_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_mainnet"}, "model.synthetix.core_delegation_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet"}, "model.synthetix.core_deposited_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_mainnet"}, "model.synthetix.core_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_mainnet"}, "model.synthetix.core_market_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_mainnet"}, "model.synthetix.core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_mainnet"}, "model.synthetix.core_pool_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_mainnet"}, "model.synthetix.core_rewards_claimed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet"}, "model.synthetix.core_rewards_distributed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet"}, "model.synthetix.core_usd_burned_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_mainnet"}, "model.synthetix.core_usd_minted_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_mainnet"}, "model.synthetix.core_vault_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_base_mainnet"}, "model.synthetix.core_vault_debt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_base_mainnet"}, "model.synthetix.core_vault_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet"}, "model.synthetix.core_withdrawn_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_withdrawn_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_mainnet"}, "model.synthetix.perp_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_mainnet"}, "model.synthetix.perp_account_liquidation_attempt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_liquidation_attempt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet"}, "model.synthetix.perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet"}, "model.synthetix.perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_mainnet"}, "model.synthetix.perp_interest_rate_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_rate_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet"}, "model.synthetix.perp_market_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_mainnet"}, "model.synthetix.perp_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_mainnet"}, "model.synthetix.perp_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_mainnet"}, "model.synthetix.perp_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_mainnet"}, "model.synthetix.perp_position_liquidated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_position_liquidated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet"}, "model.synthetix.perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet"}, "model.synthetix.spot_order_cancelled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_cancelled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet"}, "model.synthetix.spot_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_mainnet"}, "model.synthetix.spot_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_mainnet"}, "model.synthetix.spot_synth_bought_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_bought_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_mainnet"}, "model.synthetix.spot_synth_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_mainnet"}, "model.synthetix.spot_synth_sold_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_mainnet"}, "model.synthetix.spot_synth_unwrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_unwrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet"}, "model.synthetix.spot_synth_wrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_wrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet"}, "model.synthetix.blocks_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "blocks_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_sepolia"}, "model.synthetix.buyback_processed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_sepolia"}, "model.synthetix.core_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_sepolia"}, "model.synthetix.core_delegation_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia"}, "model.synthetix.core_deposited_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_sepolia"}, "model.synthetix.core_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_sepolia"}, "model.synthetix.core_market_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_sepolia"}, "model.synthetix.core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_sepolia"}, "model.synthetix.core_pool_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_sepolia"}, "model.synthetix.core_rewards_claimed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia"}, "model.synthetix.core_rewards_distributed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia"}, "model.synthetix.core_usd_burned_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_sepolia"}, "model.synthetix.core_usd_minted_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_sepolia"}, "model.synthetix.core_vault_collateral_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_collateral_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_base_sepolia"}, "model.synthetix.core_vault_debt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_debt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_base_sepolia"}, "model.synthetix.core_vault_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia"}, "model.synthetix.core_withdrawn_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_sepolia"}, "model.synthetix.perp_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_sepolia"}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia"}, "model.synthetix.perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia"}, "model.synthetix.perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia"}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia"}, "model.synthetix.perp_market_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_sepolia"}, "model.synthetix.perp_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_sepolia"}, "model.synthetix.perp_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_sepolia"}, "model.synthetix.perp_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_sepolia"}, "model.synthetix.perp_position_liquidated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia"}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia"}, "model.synthetix.spot_order_cancelled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia"}, "model.synthetix.spot_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_sepolia"}, "model.synthetix.spot_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_sepolia"}, "model.synthetix.spot_synth_bought_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia"}, "model.synthetix.spot_synth_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia"}, "model.synthetix.spot_synth_sold_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia"}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia"}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia"}, "seed.synthetix.arbitrum_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors"}, "seed.synthetix.arbitrum_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_tokens"}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors"}, "seed.synthetix.arbitrum_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_tokens"}, "seed.synthetix.base_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_reward_distributors"}, "seed.synthetix.base_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_tokens"}, "seed.synthetix.base_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_reward_distributors"}, "seed.synthetix.base_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_tokens"}}, "sources": {"source.synthetix.raw_arbitrum_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.block"}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "token_amount": {"type": "numeric", "index": 14, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 11, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "target": {"type": "text", "index": 13, "name": "target", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_arbitrum_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 2, "name": "timestamp", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.block"}, "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 4, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 11, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 9, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "token_amount": {"type": "numeric", "index": 12, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target": {"type": "text", "index": 1, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.block"}, "source.synthetix.raw_base_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.blocks_parquet"}, "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "snx": {"type": "numeric", "index": 3, "name": "snx", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "buyer": {"type": "text", "index": 8, "name": "buyer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_legacy_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "snx": {"type": "numeric", "index": 6, "name": "snx", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "usd": {"type": "numeric", "index": 8, "name": "usd", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_base_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_debt"}, "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"net_issuance": {"type": "numeric", "index": 1, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 8, "name": "reported_debt", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "target": {"type": "text", "index": 8, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market": {"type": "text", "index": 1, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 3, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 9, "name": "interest_rate", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 14, "name": "current_funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"expected_price_time": {"type": "numeric", "index": 1, "name": "expected_price_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "settlement_time": {"type": "numeric", "index": 6, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 17, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 4, "name": "current_funding_rate", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 10, "name": "current_funding_velocity", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "settlement_time": {"type": "numeric", "index": 13, "name": "settlement_time", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.block"}, "source.synthetix.raw_base_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.blocks_parquet"}, "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "usd": {"type": "numeric", "index": 2, "name": "usd", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_base_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_debt"}, "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 3, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"reported_debt": {"type": "numeric", "index": 1, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "credit_capacity": {"type": "numeric", "index": 10, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 14, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 8, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 13, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 7, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "reported_debt": {"type": "numeric", "index": 3, "name": "reported_debt", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}, "market_id": {"type": "numeric", "index": 14, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 4, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 14, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 2, "name": "current_funding_velocity", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 7, "name": "current_funding_rate", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "interest_rate": {"type": "numeric", "index": 12, "name": "interest_rate", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "expiration_time": {"type": "numeric", "index": 11, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 12, "name": "commitment_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 13, "name": "expected_price_time", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "settlement_time": {"type": "numeric", "index": 15, "name": "settlement_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "sender": {"type": "text", "index": 17, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 5, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 11, "name": "current_funding_rate", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "settlement_time": {"type": "numeric", "index": 10, "name": "settlement_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 12, "name": "acceptable_price", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 16, "name": "commitment_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_optimism_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.block"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "leverage": {"type": "numeric", "index": 3, "name": "leverage", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 6, "name": "liquidation_data", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 10, "name": "start", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 15, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 15, "name": "intention_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 5, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 4, "name": "final_order_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "settler": {"type": "text", "index": 7, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 11, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 7, "name": "collected_fees", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_unwrapped": {"type": "numeric", "index": 1, "name": "amount_unwrapped", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 3, "name": "amount_wrapped", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped"}}, "errors": null} \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql new file mode 100644 index 00000000..a87bab21 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql new file mode 100644 index 00000000..ee617cc9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql @@ -0,0 +1,207 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql new file mode 100644 index 00000000..c0737186 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql @@ -0,0 +1,98 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_reward_arbitrum_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..ce941b93 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql new file mode 100644 index 00000000..312c4974 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql new file mode 100644 index 00000000..75d0976d --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql new file mode 100644 index 00000000..f0040619 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql new file mode 100644 index 00000000..e656efb3 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql new file mode 100644 index 00000000..01fc76ed --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..e1a1a324 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..4c508169 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql new file mode 100644 index 00000000..fc06a2e6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql new file mode 100644 index 00000000..856f19b5 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..19fe3417 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..ecc4bc00 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql new file mode 100644 index 00000000..b86d4a77 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql @@ -0,0 +1,34 @@ +WITH all_prices AS ( + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql new file mode 100644 index 00000000..5ba78a95 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql new file mode 100644 index 00000000..77424cef --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql new file mode 100644 index 00000000..8ff43dc9 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql new file mode 100644 index 00000000..7a029953 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql new file mode 100644 index 00000000..6907048e --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql new file mode 100644 index 00000000..47b929f8 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql new file mode 100644 index 00000000..8e9c7eee --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql @@ -0,0 +1,207 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql new file mode 100644 index 00000000..12e3a6df --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql @@ -0,0 +1,98 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_reward_arbitrum_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..60be4e6a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql new file mode 100644 index 00000000..b34b8fec --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql new file mode 100644 index 00000000..a4c432cd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql new file mode 100644 index 00000000..3c82b5b4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql new file mode 100644 index 00000000..4b84c276 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql new file mode 100644 index 00000000..71e407c1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..2ed33974 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..d05cf5fd --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql new file mode 100644 index 00000000..019d4c14 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql new file mode 100644 index 00000000..a866fac6 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..d9b7e00a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..eea01269 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql new file mode 100644 index 00000000..1af3f057 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql @@ -0,0 +1,34 @@ +WITH all_prices AS ( + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql new file mode 100644 index 00000000..902b8ce4 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql new file mode 100644 index 00000000..7871b359 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql new file mode 100644 index 00000000..581e1818 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql new file mode 100644 index 00000000..41d3b40a --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql new file mode 100644 index 00000000..53a922b1 --- /dev/null +++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql new file mode 100644 index 00000000..f30e933b --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql @@ -0,0 +1,17 @@ +SELECT + id, + block_timestamp AS ts, + buyer, + + snx / 1e18 + AS snx, + + usd / 1e18 + AS usd, + ( + usd / 1e18 +) / ( + snx / 1e18 +) AS snx_price +FROM + "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql new file mode 100644 index 00000000..6204522d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql new file mode 100644 index 00000000..48c227c4 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql new file mode 100644 index 00000000..94739c69 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql new file mode 100644 index 00000000..954a989d --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql @@ -0,0 +1,207 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql new file mode 100644 index 00000000..50d778bd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql @@ -0,0 +1,98 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_reward_base_mainnet" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql new file mode 100644 index 00000000..9aaf3b7a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql new file mode 100644 index 00000000..fea3f1a9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql new file mode 100644 index 00000000..9eb60ecc --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql new file mode 100644 index 00000000..808b8dea --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql new file mode 100644 index 00000000..c623dc32 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + contract_address, + pool_id, + collateral_type, + amount, + collateral_value +FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql new file mode 100644 index 00000000..2713fad8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql new file mode 100644 index 00000000..309c7bfd --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql new file mode 100644 index 00000000..de4fdaa3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql new file mode 100644 index 00000000..6346c974 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql new file mode 100644 index 00000000..a38f901a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql new file mode 100644 index 00000000..1aa87e95 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."base_mainnet_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql new file mode 100644 index 00000000..9d84db08 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql new file mode 100644 index 00000000..4c22420e --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql new file mode 100644 index 00000000..853aeadb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + CAST( + account_id AS VARCHAR + ) AS id, + block_timestamp AS created_ts, + "owner" + FROM + "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql new file mode 100644 index 00000000..4a1dfb95 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql @@ -0,0 +1,15 @@ +SELECT + id, + block_timestamp, + account_id, + block_number, + transaction_hash, + contract, + event_name, + synth_market_id, + sender, + + amount_delta / 1e18 + AS amount_delta +FROM + "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql new file mode 100644 index 00000000..33789660 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql @@ -0,0 +1,13 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + account_id, + + interest / 1e18 + AS interest +FROM + "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql new file mode 100644 index 00000000..1f31f965 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql @@ -0,0 +1,56 @@ +WITH liquidation_events AS ( + SELECT + account_id, + reward, + block_timestamp, + full_liquidation, + SUM( + CASE + WHEN full_liquidation THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY account_id + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS liquidation_id + FROM + "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +), +cumulative_rewards AS ( + SELECT + CAST( + le.account_id AS text + ) AS account_id, + le.block_timestamp, + le.reward, + le.full_liquidation, + le.liquidation_id, + SUM( + reward / 1e18 +) over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp + ) AS cumulative_reward, + ROW_NUMBER() over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp DESC + ) AS rn + FROM + liquidation_events le + ORDER BY + block_timestamp +) +SELECT + account_id, + block_timestamp AS ts, + cumulative_reward AS total_reward +FROM + cumulative_rewards +WHERE + rn = 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql new file mode 100644 index 00000000..cc7d0ea5 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH liquidations AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash, + account_id, + market_id, + + amount_liquidated / 1e18 + AS amount_liquidated, + + current_position_size / 1e18 + AS position_size + FROM + "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +), +markets AS ( + SELECT + id, + market_symbol + FROM + "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" +) +SELECT + l.id, + l.ts, + l.block_number, + l.transaction_hash, + CAST( + l.account_id AS text + ) AS account_id, + l.market_id, + m.market_symbol, + l.amount_liquidated, + l.position_size +FROM + liquidations l + LEFT JOIN markets m + ON l.market_id = m.id \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql new file mode 100644 index 00000000..939c260f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql @@ -0,0 +1,72 @@ +WITH base AS ( + SELECT + mu.id, + mu.block_timestamp AS ts, + mu.block_number, + mu.transaction_hash, + m.id AS market_id, + m.market_symbol, + + price / 1e18 + AS price, + + skew / 1e18 + AS skew, + + size / 1e18 + AS SIZE, + + size_delta / 1e18 + AS size_delta, + + current_funding_rate / 1e18 + AS funding_rate, + + current_funding_velocity / 1e18 + AS funding_velocity, + + interest_rate / 1e18 + AS interest_rate, + + current_funding_rate / 1e18 + * 365.25 AS funding_rate_apr, + + current_funding_rate / 1e18 + * 365.25 + + interest_rate / 1e18 + AS long_rate_apr, + + current_funding_rate / 1e18 + * -1 * 365.25 + + interest_rate / 1e18 + AS short_rate_apr + FROM + "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" + mu + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" + m + ON mu.market_id = m.id +) +SELECT + *, + SIZE * price AS size_usd, + ( + SIZE + skew + ) * price / 2 AS long_oi, + ( + SIZE - skew + ) * price / 2 AS short_oi, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE + skew) * price / 2) / ( + SIZE * price + ) + END AS long_oi_pct, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE - skew) * price / 2) / ( + SIZE * price + ) + END AS short_oi_pct +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql new file mode 100644 index 00000000..44596ac1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + perps_market_id AS id, + block_timestamp AS created_ts, + block_number, + market_symbol, + market_name + FROM + "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql new file mode 100644 index 00000000..655ebf94 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql @@ -0,0 +1,46 @@ +WITH base AS ( + SELECT + oc.id, + oc.block_timestamp AS ts, + oc.block_number, + oc.transaction_hash, + oc.contract, + oc.market_id, + markets.market_symbol, + CAST( + oc.account_id AS text + ) AS account_id, + oc.order_type, + + oc.size_delta / 1e18 + AS SIZE, + + oc.acceptable_price / 1e18 + AS acceptable_price, + oc.settlement_time, + oc.expiration_time, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + oc.sender + FROM + "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" + oc + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets + ON oc.market_id = markets.id +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql new file mode 100644 index 00000000..8ea899eb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql @@ -0,0 +1,17 @@ + +WITH debt AS ( + SELECT + ts, + 2 AS market_id, + debt * -1 AS market_pnl + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet" +) +SELECT + ts, + market_id, + market_pnl +FROM + debt +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql new file mode 100644 index 00000000..06b64957 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql @@ -0,0 +1,19 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + account_id, + commitment_time, + tracking_code, + + acceptable_price / 1e18 + AS acceptable_price, + + size_delta / 1e18 + AS size_delta +FROM + "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql new file mode 100644 index 00000000..edaf80fb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql @@ -0,0 +1,69 @@ +WITH base AS ( + SELECT + pos.id, + pos.block_timestamp AS ts, + pos.block_number, + pos.transaction_hash, + pos.contract, + pos.market_id, + markets.market_symbol, + CAST( + pos.account_id AS text + ) AS account_id, + + fill_price / 1e18 + AS fill_price, + + pnl / 1e18 + AS pnl, + + accrued_funding / 1e18 + AS accrued_funding, + + size_delta / 1e18 + AS trade_size, + + new_size / 1e18 + AS position_size, + + total_fees / 1e18 + AS total_fees, + + referral_fees / 1e18 + AS referral_fees, + + collected_fees / 1e18 + AS collected_fees, + + settlement_reward / 1e18 + AS settlement_reward, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + pos.settler + FROM + "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" AS pos + LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets + ON pos.market_id = markets.id +) +SELECT + *, + ABS( + fill_price * trade_size + ) AS notional_trade_size, + fill_price * position_size AS notional_position_size, + total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees, + total_fees - settlement_reward AS exchange_fees +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..8fd7f284 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql @@ -0,0 +1,39 @@ +WITH daily AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + account_id, + SUM(fees) AS fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_account_stats_hourly_base_mainnet" + GROUP BY + 1, + 2 +), +stats AS ( + SELECT + daily.*, + SUM(fees) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_fees, + SUM(volume) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_volume + FROM + daily +) +SELECT + * +FROM + stats \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..cd451bf3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql @@ -0,0 +1,108 @@ +WITH trades AS ( + SELECT + ts, + account_id, + total_fees, + notional_trade_size, + 1 AS trades, + SUM( + total_fees + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_fees, + SUM( + notional_trade_size + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_volume + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +liq AS ( + SELECT + ts, + account_id, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(trades) AS trades, + SUM(total_fees) AS fees, + SUM(notional_trade_size) AS volume, + MAX(cumulative_fees) AS cumulative_fees, + MAX(cumulative_volume) AS cumulative_volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +inc AS ( + SELECT + h.ts, + h.account_id, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.fees, + 0 + ) AS fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + COALESCE( + h.cumulative_fees, + 0 + ) AS cumulative_fees, + COALESCE( + h.cumulative_volume, + 0 + ) AS cumulative_volume + FROM + inc_trades h + LEFT JOIN inc_liq l + ON h.ts = l.ts + AND h.account_id = l.account_id +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..b13c6d1f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH hourly AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + keeper, + settlement_rewards, + amount_settled, + trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_keeper_stats_hourly_base_mainnet" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_rewards) AS settlement_reward_total, + SUM(amount_settled) AS amount_settled_total + FROM + hourly + GROUP BY + 1 +) +SELECT + hourly.ts, + keeper, + SUM(trades) AS trades, + SUM(settlement_rewards) AS settlement_rewards, + SUM(amount_settled) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct +FROM + hourly + JOIN total + ON hourly.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..627ecf9f --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql @@ -0,0 +1,40 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + settler, + settlement_reward, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_reward) AS settlement_reward_total, + SUM(notional_trade_size) AS notional_trade_size_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + settler AS keeper, + SUM(trades) AS trades, + SUM(settlement_reward) AS settlement_rewards, + SUM(notional_trade_size) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct +FROM + trades + JOIN total + ON trades.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..870f2a67 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql @@ -0,0 +1,22 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet" +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..34a5bef9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql @@ -0,0 +1,147 @@ +WITH trades AS ( + SELECT + ts, + market_symbol, + exchange_fees, + referral_fees, + collected_fees, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" +), +liq AS ( + SELECT + ts, + market_symbol, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + trades + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + trades + ) AS m + GROUP BY + m.market_symbol +), +inc AS ( + SELECT + dim.ts, + dim.market_symbol, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.exchange_fees, + 0 + ) AS exchange_fees, + COALESCE( + h.referral_fees, + 0 + ) AS referral_fees, + COALESCE( + h.collected_fees, + 0 + ) AS collected_fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + SUM( + h.exchange_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_exchange_fees, + SUM( + h.referral_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_referral_fees, + SUM( + h.collected_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_collected_fees, + SUM( + h.volume + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_volume + FROM + dim + LEFT JOIN inc_trades h + ON dim.ts = h.ts + AND dim.market_symbol = h.market_symbol + LEFT JOIN inc_liq l + ON dim.ts = l.ts + AND dim.market_symbol = l.market_symbol +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..728462b7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql @@ -0,0 +1,20 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(liquidation_rewards) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_mainnet"."fct_perp_stats_hourly_base_mainnet" +GROUP BY + 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..aa4a0265 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql @@ -0,0 +1,84 @@ +WITH inc_market AS ( + SELECT + ts, + market_symbol, + trades, + exchange_fees, + referral_fees, + collected_fees, + volume, + liquidations, + cumulative_exchange_fees, + cumulative_referral_fees, + cumulative_collected_fees, + cumulative_volume + FROM + "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet" +), +liq AS ( + SELECT + ts, + total_reward, + 1 AS liquidated_accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet" +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(total_reward) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts + FROM + liq + GROUP BY + 1 +), +inc_trade AS ( + SELECT + ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(cumulative_exchange_fees) AS cumulative_exchange_fees, + SUM(cumulative_referral_fees) AS cumulative_referral_fees, + SUM(cumulative_collected_fees) AS cumulative_collected_fees, + SUM(cumulative_volume) AS cumulative_volume + FROM + inc_market + GROUP BY + 1 +), +inc AS ( + SELECT + h.ts, + h.trades, + h.exchange_fees, + h.referral_fees, + h.collected_fees, + h.volume, + COALESCE( + l.liquidation_rewards, + 0 + ) AS liquidation_rewards, + COALESCE( + l.liquidated_accounts, + 0 + ) AS liquidated_accounts, + h.cumulative_exchange_fees, + h.cumulative_referral_fees, + h.cumulative_collected_fees, + h.cumulative_volume + FROM + inc_trade h + LEFT JOIN inc_liq l + ON h.ts = l.ts +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql new file mode 100644 index 00000000..bdc156ff --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(trades) AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_tracking_stats_hourly_base_mainnet" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total, + SUM(trades) AS trades_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql new file mode 100644 index 00000000..197d8c73 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume, + SUM(1) AS trades + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql new file mode 100644 index 00000000..b6517f5c --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql @@ -0,0 +1,52 @@ +WITH all_prices AS ( + SELECT + ts, + NULL AS market_address, + market_symbol, + price + FROM + "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet" + UNION ALL + SELECT + ts, + NULL AS market_address, + 'SNX' AS market_symbol, + snx_price AS price + FROM + "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet" + WHERE + snx_price > 0 + UNION ALL + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."base_mainnet_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql new file mode 100644 index 00000000..41688e1a --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_base_mainnet"."fct_prices_base_mainnet" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql new file mode 100644 index 00000000..2afa76fe --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql new file mode 100644 index 00000000..187abb91 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql new file mode 100644 index 00000000..71aa91cb --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql new file mode 100644 index 00000000..8ff09770 --- /dev/null +++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql new file mode 100644 index 00000000..91d3946b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql @@ -0,0 +1,17 @@ +SELECT + id, + block_timestamp AS ts, + buyer, + + snx / 1e18 + AS snx, + + usd / 1e18 + AS usd, + ( + usd / 1e18 +) / ( + snx / 1e18 +) AS snx_price +FROM + "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql new file mode 100644 index 00000000..7f0c4613 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql new file mode 100644 index 00000000..5a978929 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql @@ -0,0 +1,27 @@ +WITH agg AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(snx) AS snx_amount, + SUM(usd) AS usd_amount + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + GROUP BY + 1 +) -- add cumulative amounts +SELECT + ts, + snx_amount, + usd_amount, + SUM(snx_amount) over ( + ORDER BY + ts + ) AS cumulative_snx_amount, + SUM(usd_amount) over ( + ORDER BY + ts + ) AS cumulative_usd_amount +FROM + agg \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql new file mode 100644 index 00000000..6fa34bf7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql @@ -0,0 +1,58 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated, + ROW_NUMBER() over ( + PARTITION BY pool_id, + account_id, + collateral_type + ORDER BY + block_timestamp DESC + ) AS rn + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + CAST( + account_id AS text + ) AS account_id, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +WHERE + rn = 1 +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql new file mode 100644 index 00000000..cab7190a --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql @@ -0,0 +1,207 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_pnl, + hourly_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct, + SUM( + COALESCE( + hourly_issuance, + 0 + ) + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_issuance, + SUM( + hourly_pnl + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts + ) AS cumulative_pnl + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_pnl_pct, + AVG( + hourly_pnl_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_pnl_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_total_pct, + AVG( + hourly_total_pct + ) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_total_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.debt AS debt, + pnl_hourly.hourly_pnl AS hourly_pnl, + pnl_hourly.cumulative_pnl AS cumulative_pnl, + pnl_hourly.hourly_issuance AS hourly_issuance, + pnl_hourly.cumulative_issuance AS cumulative_issuance, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + -- total pnls + avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h, + avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d, + avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d, + -- pool pnls + avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl, + avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl, + avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl, + -- rewards pnls + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h, + (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d, + (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d, + (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl, + (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl, + (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + cumulative_pnl, + cumulative_issuance, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + apr_24h, + apy_24h, + apr_7d, + apy_7d, + apr_28d, + apy_28d, + apr_24h_pnl, + apy_24h_pnl, + apr_7d_pnl, + apy_7d_pnl, + apr_28d_pnl, + apy_28d_pnl, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql new file mode 100644 index 00000000..e55e213b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql @@ -0,0 +1,98 @@ +WITH pnl_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_reward_base_sepolia" +), +avg_returns AS ( + SELECT + ts, + pool_id, + collateral_type, + reward_token, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '24 HOURS' preceding + AND CURRENT ROW + ) AS avg_24h_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '7 DAYS' preceding + AND CURRENT ROW + ) AS avg_7d_rewards_pct, + AVG( + hourly_rewards_pct + ) over ( + PARTITION BY pool_id, + collateral_type, + reward_token + ORDER BY + ts RANGE BETWEEN INTERVAL '28 DAYS' preceding + AND CURRENT ROW + ) AS avg_28d_rewards_pct + FROM + pnl_hourly +), +apr_calculations AS ( + SELECT + pnl_hourly.ts AS ts, + pnl_hourly.pool_id AS pool_id, + pnl_hourly.collateral_type AS collateral_type, + pnl_hourly.reward_token AS reward_token, + pnl_hourly.collateral_value AS collateral_value, + pnl_hourly.rewards_usd AS rewards_usd, + pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct, + avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards, + avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards, + avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards + FROM + pnl_hourly + JOIN avg_returns + ON pnl_hourly.ts = avg_returns.ts + AND pnl_hourly.pool_id = avg_returns.pool_id + AND pnl_hourly.collateral_type = avg_returns.collateral_type + AND pnl_hourly.reward_token = avg_returns.reward_token +), +apy_calculations AS ( + SELECT + *, + (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards, + (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards, + (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards + FROM + apr_calculations +) +SELECT + ts, + pool_id, + collateral_type, + reward_token, + collateral_value, + rewards_usd, + hourly_rewards_pct, + apr_24h_rewards, + apy_24h_rewards, + apr_7d_rewards, + apy_7d_rewards, + apr_28d_rewards, + apy_28d_rewards +FROM + apy_calculations +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql new file mode 100644 index 00000000..32790856 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql @@ -0,0 +1,35 @@ +WITH market_updated AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +) +SELECT + id, + block_timestamp AS ts, + transaction_hash, + event_name, + market_id, + collateral_type, + + credit_capacity / 1e18 + AS credit_capacity, + + net_issuance / 1e18 + AS net_issuance, + + token_amount / 1e18 + AS token_amount +FROM + market_updated \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql new file mode 100644 index 00000000..669a4324 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql @@ -0,0 +1,39 @@ +WITH events AS ( + SELECT + block_timestamp, + + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" + UNION ALL + SELECT + block_timestamp,- + token_amount / 1e18 + AS token_amount, + collateral_type + FROM + "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +), +ranked_events AS ( + SELECT + *, + SUM(token_amount) over ( + PARTITION BY collateral_type + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS amount_deposited + FROM + events +) +SELECT + block_timestamp AS ts, + collateral_type, + amount_deposited +FROM + ranked_events +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql new file mode 100644 index 00000000..02d13758 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql @@ -0,0 +1,44 @@ +WITH delegation_changes AS ( + SELECT + block_timestamp, + account_id, + pool_id, + collateral_type, + + amount / 1e18 + - LAG( + amount / 1e18 +, 1, 0) over ( + PARTITION BY account_id, + pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS change_in_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +), +cumulative_delegation AS ( + SELECT + block_timestamp, + pool_id, + collateral_type, + SUM(change_in_amount) over ( + PARTITION BY pool_id, + collateral_type + ORDER BY + block_timestamp + ) AS cumulative_amount_delegated + FROM + delegation_changes +) +SELECT + block_timestamp AS ts, + pool_id, + collateral_type, + cumulative_amount_delegated AS amount_delegated +FROM + cumulative_delegation +ORDER BY + block_timestamp, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql new file mode 100644 index 00000000..4b1b94de --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + pool_id AS id, + block_timestamp AS created_ts, + block_number, + owner + FROM + "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql new file mode 100644 index 00000000..e3d26038 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql @@ -0,0 +1,10 @@ +SELECT + ts, + block_number, + pool_id, + collateral_type, + debt +FROM + "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql new file mode 100644 index 00000000..f8f3c547 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql @@ -0,0 +1,43 @@ +WITH burns AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + -1 * + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" + ORDER BY + block_timestamp DESC +), +mints AS ( + SELECT + block_timestamp AS ts, + block_number, + transaction_hash, + pool_id, + collateral_type, + account_id, + + amount / 1e18 + AS amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" + ORDER BY + block_timestamp DESC +) +SELECT + * +FROM + burns +UNION ALL +SELECT + * +FROM + mints +ORDER BY + ts DESC \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql new file mode 100644 index 00000000..d801986c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql @@ -0,0 +1,110 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +max_debt_block AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS HOUR, + pool_id, + collateral_type, + MAX(block_number) AS max_block_number + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + GROUP BY + DATE_TRUNC( + 'hour', + ts + ), + pool_id, + collateral_type +), +filt_issuance AS ( + SELECT + CASE + WHEN i.block_number <= d.max_block_number + OR d.max_block_number IS NULL THEN i.ts + ELSE i.ts + INTERVAL '1 hour' + END AS ts, + i.pool_id, + i.collateral_type, + i.amount + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia" + i + LEFT JOIN max_debt_block d + ON DATE_TRUNC( + 'hour', + i.ts + ) = d.hour + AND i.pool_id = d.pool_id + AND LOWER( + i.collateral_type + ) = LOWER( + d.collateral_type + ) + WHERE + i.block_number <= ( + SELECT + MAX( + max_block_number + ) + FROM + max_debt_block + ) +), +issuance AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + SUM(amount) AS hourly_issuance + FROM + filt_issuance + GROUP BY + 1, + 2, + 3 +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + COALESCE( + i.hourly_issuance, + 0 + ) AS hourly_issuance +FROM + dim + LEFT JOIN issuance i + ON dim.pool_id = i.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + i.collateral_type + ) + AND dim.ts = i.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql new file mode 100644 index 00000000..5920472c --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql @@ -0,0 +1,210 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + p.pool_id, + p.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS p +GROUP BY + p.pool_id, + p.collateral_type +), +issuance AS ( + SELECT + ts, + pool_id, + collateral_type, + hourly_issuance + FROM + "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia" +), +debt AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS debt + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" +), +collateral AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + pool_id, + collateral_type, + LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS collateral_value + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" + WHERE + pool_id = 1 +), +ffill AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + debt.debt, + collateral.collateral_value, + SUM( + CASE + WHEN debt.debt IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS debt_id, + SUM( + CASE + WHEN collateral.collateral_value IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + ORDER BY + dim.ts + ) AS collateral_id + FROM + dim + LEFT JOIN debt + ON dim.ts = debt.ts + AND dim.pool_id = debt.pool_id + AND dim.collateral_type = debt.collateral_type + LEFT JOIN collateral + ON dim.ts = collateral.ts + AND dim.pool_id = collateral.pool_id + AND dim.collateral_type = collateral.collateral_type +), +hourly_index AS ( + SELECT + ts, + pool_id, + collateral_type, + FIRST_VALUE(COALESCE(debt, 0)) over ( + PARTITION BY debt_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS debt, + FIRST_VALUE(COALESCE(collateral_value, 0)) over ( + PARTITION BY collateral_id, + pool_id, + collateral_type + ORDER BY + ts + ) AS collateral_value + FROM + ffill +), +hourly_pnl AS ( + SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type + ORDER BY + ts) - debt, 0) AS hourly_pnl + FROM + hourly_index +), +hourly_rewards AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia" +), +hourly_returns AS ( + SELECT + pnl.ts, + pnl.pool_id, + pnl.collateral_type, + pnl.collateral_value, + pnl.debt, + COALESCE( + iss.hourly_issuance, + 0 + ) hourly_issuance, + pnl.hourly_pnl + COALESCE( + iss.hourly_issuance, + 0 + ) AS hourly_pnl, + COALESCE( + rewards.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE COALESCE( + rewards.rewards_usd, + 0 + ) / pnl.collateral_value + END AS hourly_rewards_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value + END AS hourly_pnl_pct, + CASE + WHEN pnl.collateral_value = 0 THEN 0 + ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value + END AS hourly_total_pct + FROM + hourly_pnl pnl + LEFT JOIN hourly_rewards rewards + ON pnl.ts = rewards.ts + AND pnl.pool_id = rewards.pool_id + AND pnl.collateral_type = rewards.collateral_type + LEFT JOIN issuance iss + ON pnl.ts = iss.ts + AND pnl.pool_id = iss.pool_id + AND LOWER( + pnl.collateral_type + ) = LOWER( + iss.collateral_type + ) +) +SELECT + ts, + pool_id, + collateral_type, + collateral_value, + debt, + hourly_issuance, + hourly_pnl, + rewards_usd, + hourly_pnl_pct, + hourly_rewards_pct, + hourly_total_pct +FROM + hourly_returns \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql new file mode 100644 index 00000000..0feb8c5e --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql @@ -0,0 +1,78 @@ + + +WITH dim AS ( + + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol AS reward_token + FROM + ( + SELECT + ts, + collateral_type, + pool_id, + collateral_value + FROM + "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia" + group by + ts, + collateral_type, + pool_id, + collateral_value + ) AS t + CROSS JOIN ( + SELECT + DISTINCT token_symbol + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" + ) AS p + GROUP BY + t.pool_id, + t.collateral_type, + t.collateral_value, + p.token_symbol +), +reward_hourly_token AS ( + SELECT + ts, + pool_id, + collateral_type, + token_symbol AS reward_token, + SUM( + rewards_usd + ) AS rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" + GROUP BY + ts, + pool_id, + collateral_type, + token_symbol +) +SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + dim.collateral_value, + dim.reward_token, + COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) AS rewards_usd, + CASE + WHEN dim.collateral_value = 0 THEN 0 + ELSE COALESCE( + reward_hourly_token.rewards_usd, + 0 + ) / dim.collateral_value + END AS hourly_rewards_pct +FROM + dim + LEFT JOIN reward_hourly_token + ON dim.ts = reward_hourly_token.ts + AND dim.pool_id = reward_hourly_token.pool_id + AND dim.collateral_type = reward_hourly_token.collateral_type + and dim.reward_token = reward_hourly_token.reward_token \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql new file mode 100644 index 00000000..033583d7 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql @@ -0,0 +1,37 @@ +WITH rewards_distributed AS ( + SELECT + block_timestamp AS ts, + CAST( + pool_id AS INTEGER + ) AS pool_id, + collateral_type, + distributor, + + amount / 1e18 + AS amount, + TO_TIMESTAMP("start") AS ts_start, + "duration" + FROM + "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +), +distributors AS ( + SELECT + CAST(distributor_address AS TEXT) AS distributor_address, + CAST(token_symbol AS TEXT) AS token_symbol + FROM + "analytics"."prod_seeds"."base_sepolia_reward_distributors" +) +SELECT + rd.ts, + rd.pool_id, + rd.collateral_type, + rd.distributor, + distributors.token_symbol, + rd.amount, + rd.ts_start, + rd.duration +FROM + rewards_distributed rd + join distributors on rd.distributor = distributors.distributor_address +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql new file mode 100644 index 00000000..a8bd93f8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql @@ -0,0 +1,20 @@ +WITH token_hourly AS ( + SELECT + ts, + pool_id, + collateral_type, + rewards_usd + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia" +) +SELECT + ts, + pool_id, + collateral_type, + SUM(rewards_usd) AS rewards_usd +FROM + token_hourly +GROUP BY + ts, + pool_id, + collateral_type \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql new file mode 100644 index 00000000..f9d48d59 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql @@ -0,0 +1,113 @@ +WITH dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.pool_id, + m.collateral_type + FROM + ( + SELECT + ts + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS t + CROSS JOIN ( + SELECT + DISTINCT pool_id, + collateral_type + FROM + "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia" + ) AS m + GROUP BY + m.pool_id, + m.collateral_type +), +rewards_distributed AS ( + SELECT + ts, + pool_id, + collateral_type, + distributor, + token_symbol, + amount, + ts_start, + "duration" + FROM + "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia" +), +hourly_distributions AS ( + SELECT + dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor, + r.token_symbol, + r.amount, + r.ts_start, + r."duration", + ROW_NUMBER() over ( + PARTITION BY dim.ts, + dim.pool_id, + dim.collateral_type, + r.distributor + ORDER BY + r.ts_start DESC + ) AS distributor_index + FROM + dim + LEFT JOIN rewards_distributed r + ON dim.pool_id = r.pool_id + AND LOWER( + dim.collateral_type + ) = LOWER( + r.collateral_type + ) + AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start + AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL +), +hourly_rewards AS ( + SELECT + d.ts, + d.pool_id, + d.collateral_type, + d.distributor, + d.token_symbol, + p.price, + -- get the hourly amount distributed + d.amount / ( + d."duration" / 3600 + ) AS hourly_amount, + -- get the amount of time distributed this hour + -- use the smaller of those two intervals + -- convert the interval to a number of hours + -- multiply the result by the hourly amount to get the amount distributed this hour + ( + EXTRACT( + epoch + FROM + LEAST( + d."duration" / 3600 * '1 hour' :: INTERVAL, + d.ts + '1 hour' :: INTERVAL - GREATEST( + d.ts, + d.ts_start + ) + ) + ) / 3600 + ) * d.amount / ( + d."duration" / 3600 + ) AS amount_distributed + FROM + hourly_distributions AS d + LEFT JOIN "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia" + p + ON d.ts = p.ts + AND d.token_symbol = p.market_symbol + WHERE + d.distributor_index = 1 +) +SELECT + *, + amount_distributed * price AS rewards_usd +FROM + hourly_rewards +WHERE + amount_distributed IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql new file mode 100644 index 00000000..19ff047d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + CAST( + account_id AS VARCHAR + ) AS id, + block_timestamp AS created_ts, + "owner" + FROM + "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql new file mode 100644 index 00000000..b7d121cc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql @@ -0,0 +1,15 @@ +SELECT + id, + block_timestamp, + account_id, + block_number, + transaction_hash, + contract, + event_name, + synth_market_id, + sender, + + amount_delta / 1e18 + AS amount_delta +FROM + "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql new file mode 100644 index 00000000..b183bc20 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql @@ -0,0 +1,13 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + account_id, + + interest / 1e18 + AS interest +FROM + "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql new file mode 100644 index 00000000..d24410fc --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql @@ -0,0 +1,56 @@ +WITH liquidation_events AS ( + SELECT + account_id, + reward, + block_timestamp, + full_liquidation, + SUM( + CASE + WHEN full_liquidation THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY account_id + ORDER BY + block_timestamp rows BETWEEN unbounded preceding + AND CURRENT ROW + ) AS liquidation_id + FROM + "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +), +cumulative_rewards AS ( + SELECT + CAST( + le.account_id AS text + ) AS account_id, + le.block_timestamp, + le.reward, + le.full_liquidation, + le.liquidation_id, + SUM( + reward / 1e18 +) over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp + ) AS cumulative_reward, + ROW_NUMBER() over ( + PARTITION BY le.account_id, + le.liquidation_id + ORDER BY + le.block_timestamp DESC + ) AS rn + FROM + liquidation_events le + ORDER BY + block_timestamp +) +SELECT + account_id, + block_timestamp AS ts, + cumulative_reward AS total_reward +FROM + cumulative_rewards +WHERE + rn = 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql new file mode 100644 index 00000000..de933d10 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH liquidations AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash, + account_id, + market_id, + + amount_liquidated / 1e18 + AS amount_liquidated, + + current_position_size / 1e18 + AS position_size + FROM + "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +), +markets AS ( + SELECT + id, + market_symbol + FROM + "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" +) +SELECT + l.id, + l.ts, + l.block_number, + l.transaction_hash, + CAST( + l.account_id AS text + ) AS account_id, + l.market_id, + m.market_symbol, + l.amount_liquidated, + l.position_size +FROM + liquidations l + LEFT JOIN markets m + ON l.market_id = m.id \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql new file mode 100644 index 00000000..0dc81b61 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql @@ -0,0 +1,72 @@ +WITH base AS ( + SELECT + mu.id, + mu.block_timestamp AS ts, + mu.block_number, + mu.transaction_hash, + m.id AS market_id, + m.market_symbol, + + price / 1e18 + AS price, + + skew / 1e18 + AS skew, + + size / 1e18 + AS SIZE, + + size_delta / 1e18 + AS size_delta, + + current_funding_rate / 1e18 + AS funding_rate, + + current_funding_velocity / 1e18 + AS funding_velocity, + + interest_rate / 1e18 + AS interest_rate, + + current_funding_rate / 1e18 + * 365.25 AS funding_rate_apr, + + current_funding_rate / 1e18 + * 365.25 + + interest_rate / 1e18 + AS long_rate_apr, + + current_funding_rate / 1e18 + * -1 * 365.25 + + interest_rate / 1e18 + AS short_rate_apr + FROM + "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" + mu + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" + m + ON mu.market_id = m.id +) +SELECT + *, + SIZE * price AS size_usd, + ( + SIZE + skew + ) * price / 2 AS long_oi, + ( + SIZE - skew + ) * price / 2 AS short_oi, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE + skew) * price / 2) / ( + SIZE * price + ) + END AS long_oi_pct, + CASE + WHEN SIZE * price = 0 THEN NULL + ELSE ((SIZE - skew) * price / 2) / ( + SIZE * price + ) + END AS short_oi_pct +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql new file mode 100644 index 00000000..f52dc13d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql @@ -0,0 +1,14 @@ +WITH base AS ( + SELECT + perps_market_id AS id, + block_timestamp AS created_ts, + block_number, + market_symbol, + market_name + FROM + "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql new file mode 100644 index 00000000..753b2665 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql @@ -0,0 +1,46 @@ +WITH base AS ( + SELECT + oc.id, + oc.block_timestamp AS ts, + oc.block_number, + oc.transaction_hash, + oc.contract, + oc.market_id, + markets.market_symbol, + CAST( + oc.account_id AS text + ) AS account_id, + oc.order_type, + + oc.size_delta / 1e18 + AS SIZE, + + oc.acceptable_price / 1e18 + AS acceptable_price, + oc.settlement_time, + oc.expiration_time, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + oc.sender + FROM + "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" + oc + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets + ON oc.market_id = markets.id +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql new file mode 100644 index 00000000..1127c2a2 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql @@ -0,0 +1,17 @@ + +WITH debt AS ( + SELECT + ts, + 2 AS market_id, + debt * -1 AS market_pnl + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia" +) +SELECT + ts, + market_id, + market_pnl +FROM + debt +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql new file mode 100644 index 00000000..19e78675 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql @@ -0,0 +1,19 @@ +SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + account_id, + commitment_time, + tracking_code, + + acceptable_price / 1e18 + AS acceptable_price, + + size_delta / 1e18 + AS size_delta +FROM + "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql new file mode 100644 index 00000000..fefa8a17 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql @@ -0,0 +1,69 @@ +WITH base AS ( + SELECT + pos.id, + pos.block_timestamp AS ts, + pos.block_number, + pos.transaction_hash, + pos.contract, + pos.market_id, + markets.market_symbol, + CAST( + pos.account_id AS text + ) AS account_id, + + fill_price / 1e18 + AS fill_price, + + pnl / 1e18 + AS pnl, + + accrued_funding / 1e18 + AS accrued_funding, + + size_delta / 1e18 + AS trade_size, + + new_size / 1e18 + AS position_size, + + total_fees / 1e18 + AS total_fees, + + referral_fees / 1e18 + AS referral_fees, + + collected_fees / 1e18 + AS collected_fees, + + settlement_reward / 1e18 + AS settlement_reward, + + LEFT( + REGEXP_REPLACE( + encode( + DECODE(REPLACE(tracking_code, '0x', ''), 'hex'), + 'escape' + ) :: text, + '\\000', + '', + 'g' + ), + 20 + ) + AS tracking_code, + pos.settler + FROM + "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" AS pos + LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets + ON pos.market_id = markets.id +) +SELECT + *, + ABS( + fill_price * trade_size + ) AS notional_trade_size, + fill_price * position_size AS notional_position_size, + total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees, + total_fees - settlement_reward AS exchange_fees +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..0a1bd82f --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql @@ -0,0 +1,39 @@ +WITH daily AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + account_id, + SUM(fees) AS fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_account_stats_hourly_base_sepolia" + GROUP BY + 1, + 2 +), +stats AS ( + SELECT + daily.*, + SUM(fees) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_fees, + SUM(volume) over ( + PARTITION BY account_id + ORDER BY + ts RANGE BETWEEN unbounded preceding + AND CURRENT ROW + ) AS cumulative_volume + FROM + daily +) +SELECT + * +FROM + stats \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..de26b133 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql @@ -0,0 +1,108 @@ +WITH trades AS ( + SELECT + ts, + account_id, + total_fees, + notional_trade_size, + 1 AS trades, + SUM( + total_fees + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_fees, + SUM( + notional_trade_size + ) over ( + PARTITION BY account_id + ORDER BY + ts + ) AS cumulative_volume + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +liq AS ( + SELECT + ts, + account_id, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(trades) AS trades, + SUM(total_fees) AS fees, + SUM(notional_trade_size) AS volume, + MAX(cumulative_fees) AS cumulative_fees, + MAX(cumulative_volume) AS cumulative_volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + account_id, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +inc AS ( + SELECT + h.ts, + h.account_id, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.fees, + 0 + ) AS fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + COALESCE( + h.cumulative_fees, + 0 + ) AS cumulative_fees, + COALESCE( + h.cumulative_volume, + 0 + ) AS cumulative_volume + FROM + inc_trades h + LEFT JOIN inc_liq l + ON h.ts = l.ts + AND h.account_id = l.account_id +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..05b87503 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH hourly AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + keeper, + settlement_rewards, + amount_settled, + trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_keeper_stats_hourly_base_sepolia" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_rewards) AS settlement_reward_total, + SUM(amount_settled) AS amount_settled_total + FROM + hourly + GROUP BY + 1 +) +SELECT + hourly.ts, + keeper, + SUM(trades) AS trades, + SUM(settlement_rewards) AS settlement_rewards, + SUM(amount_settled) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct +FROM + hourly + JOIN total + ON hourly.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..e227dfa1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql @@ -0,0 +1,40 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + settler, + settlement_reward, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(settlement_reward) AS settlement_reward_total, + SUM(notional_trade_size) AS notional_trade_size_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + settler AS keeper, + SUM(trades) AS trades, + SUM(settlement_reward) AS settlement_rewards, + SUM(notional_trade_size) AS amount_settled, + SUM(trades) / MAX(trades_total) AS trades_pct, + SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct, + SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct +FROM + trades + JOIN total + ON trades.ts = total.ts +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..0a4495ca --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql @@ -0,0 +1,22 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia" +GROUP BY + 1, + 2 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..22877570 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql @@ -0,0 +1,147 @@ +WITH trades AS ( + SELECT + ts, + market_symbol, + exchange_fees, + referral_fees, + collected_fees, + notional_trade_size, + 1 AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" +), +liq AS ( + SELECT + ts, + market_symbol, + amount_liquidated, + 1 AS liquidations + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia" +), +inc_trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume + FROM + trades + GROUP BY + 1, + 2 +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + SUM(amount_liquidated) AS amount_liquidated, + SUM(liquidations) AS liquidations + FROM + liq + GROUP BY + 1, + 2 +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + trades + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + trades + ) AS m + GROUP BY + m.market_symbol +), +inc AS ( + SELECT + dim.ts, + dim.market_symbol, + COALESCE( + h.trades, + 0 + ) AS trades, + COALESCE( + h.exchange_fees, + 0 + ) AS exchange_fees, + COALESCE( + h.referral_fees, + 0 + ) AS referral_fees, + COALESCE( + h.collected_fees, + 0 + ) AS collected_fees, + COALESCE( + h.volume, + 0 + ) AS volume, + COALESCE( + l.amount_liquidated, + 0 + ) AS amount_liquidated, + COALESCE( + l.liquidations, + 0 + ) AS liquidations, + SUM( + h.exchange_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_exchange_fees, + SUM( + h.referral_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_referral_fees, + SUM( + h.collected_fees + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_collected_fees, + SUM( + h.volume + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS cumulative_volume + FROM + dim + LEFT JOIN inc_trades h + ON dim.ts = h.ts + AND dim.market_symbol = h.market_symbol + LEFT JOIN inc_liq l + ON dim.ts = l.ts + AND dim.market_symbol = l.market_symbol +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..32ddf64d --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql @@ -0,0 +1,20 @@ +SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(liquidation_rewards) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts, + MAX(cumulative_exchange_fees) AS cumulative_exchange_fees, + MAX(cumulative_referral_fees) AS cumulative_referral_fees, + MAX(cumulative_collected_fees) AS cumulative_collected_fees, + MAX(cumulative_volume) AS cumulative_volume +FROM + "analytics"."prod_base_sepolia"."fct_perp_stats_hourly_base_sepolia" +GROUP BY + 1 \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..25d88456 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql @@ -0,0 +1,84 @@ +WITH inc_market AS ( + SELECT + ts, + market_symbol, + trades, + exchange_fees, + referral_fees, + collected_fees, + volume, + liquidations, + cumulative_exchange_fees, + cumulative_referral_fees, + cumulative_collected_fees, + cumulative_volume + FROM + "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia" +), +liq AS ( + SELECT + ts, + total_reward, + 1 AS liquidated_accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia" +), +inc_liq AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + SUM(total_reward) AS liquidation_rewards, + SUM(liquidated_accounts) AS liquidated_accounts + FROM + liq + GROUP BY + 1 +), +inc_trade AS ( + SELECT + ts, + SUM(trades) AS trades, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(cumulative_exchange_fees) AS cumulative_exchange_fees, + SUM(cumulative_referral_fees) AS cumulative_referral_fees, + SUM(cumulative_collected_fees) AS cumulative_collected_fees, + SUM(cumulative_volume) AS cumulative_volume + FROM + inc_market + GROUP BY + 1 +), +inc AS ( + SELECT + h.ts, + h.trades, + h.exchange_fees, + h.referral_fees, + h.collected_fees, + h.volume, + COALESCE( + l.liquidation_rewards, + 0 + ) AS liquidation_rewards, + COALESCE( + l.liquidated_accounts, + 0 + ) AS liquidated_accounts, + h.cumulative_exchange_fees, + h.cumulative_referral_fees, + h.cumulative_collected_fees, + h.cumulative_volume + FROM + inc_trade h + LEFT JOIN inc_liq l + ON h.ts = l.ts +) +SELECT + * +FROM + inc \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql new file mode 100644 index 00000000..97d63dc6 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(volume) AS volume, + SUM(trades) AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_tracking_stats_hourly_base_sepolia" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'day', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total, + SUM(trades) AS trades_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql new file mode 100644 index 00000000..8edc94b3 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql @@ -0,0 +1,83 @@ +WITH trades AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + SUM(exchange_fees) AS exchange_fees, + SUM(referral_fees) AS referral_fees, + SUM(collected_fees) AS collected_fees, + SUM(notional_trade_size) AS volume, + SUM(1) AS trades + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +accounts AS ( + SELECT + DATE_TRUNC( + 'hour', + ts + ) AS ts, + tracking_code, + COUNT( + DISTINCT account_id + ) AS accounts + FROM + "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia" + GROUP BY + 1, + 2 +), +total AS ( + SELECT + ts, + SUM(trades) AS trades_total, + SUM(exchange_fees) AS exchange_fees_total, + SUM(referral_fees) AS referral_fees_total, + SUM(collected_fees) AS collected_fees_total, + SUM(volume) AS volume_total + FROM + trades + GROUP BY + 1 +) +SELECT + trades.ts, + trades.tracking_code, + trades.exchange_fees, + trades.referral_fees, + trades.collected_fees, + trades.volume, + trades.trades, + accounts.accounts, + CASE + WHEN total.exchange_fees_total = 0 THEN 0 + ELSE trades.exchange_fees / total.exchange_fees_total + END AS exchange_fees_share, + CASE + WHEN total.referral_fees_total = 0 THEN 0 + ELSE trades.referral_fees / total.referral_fees_total + END AS referral_fees_share, + CASE + WHEN total.collected_fees_total = 0 THEN 0 + ELSE trades.collected_fees / total.collected_fees_total + END AS collected_fees_share, + CASE + WHEN total.volume_total = 0 THEN 0 + ELSE trades.volume / total.volume_total + END AS volume_share, + CASE + WHEN total.trades_total = 0 THEN 0 + ELSE trades.trades / total.trades_total + END AS trades_share +FROM + trades + JOIN accounts + ON trades.ts = accounts.ts + AND trades.tracking_code = accounts.tracking_code + JOIN total + ON trades.ts = total.ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql new file mode 100644 index 00000000..3241bea9 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql @@ -0,0 +1,52 @@ +WITH all_prices AS ( + SELECT + ts, + NULL AS market_address, + market_symbol, + price + FROM + "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia" + UNION ALL + SELECT + ts, + NULL AS market_address, + 'SNX' AS market_symbol, + snx_price AS price + FROM + "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia" + WHERE + snx_price > 0 + UNION ALL + SELECT + ts, + collateral_type AS market_address, + NULL AS market_symbol, + collateral_value / amount AS price + FROM + "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia" + WHERE + collateral_value > 0 +), +tokens AS ( + SELECT + token_address, + token_symbol + FROM + "analytics"."prod_seeds"."base_sepolia_tokens" +) +SELECT + p.ts, + p.market_address, + COALESCE( + t.token_symbol, + p.market_symbol + ) AS market_symbol, + p.price +FROM + all_prices p + LEFT JOIN tokens t + ON LOWER( + p.market_address + ) = LOWER( + t.token_address + ) \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql new file mode 100644 index 00000000..73eb6c6b --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql @@ -0,0 +1,74 @@ +WITH prices AS ( + SELECT + DISTINCT DATE_TRUNC( + 'hour', + ts + ) AS ts, + market_symbol, + LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol + ORDER BY + ts rows BETWEEN unbounded preceding + AND unbounded following) AS price + FROM + "analytics"."prod_base_sepolia"."fct_prices_base_sepolia" +), +dim AS ( + SELECT + generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts, + m.market_symbol + FROM + ( + SELECT + ts + FROM + prices + ) AS t + CROSS JOIN ( + SELECT + DISTINCT market_symbol + FROM + prices + ) AS m + GROUP BY + m.market_symbol +), +ffill AS ( + SELECT + dim.ts, + dim.market_symbol, + prices.price, + SUM( + CASE + WHEN prices.price IS NOT NULL THEN 1 + ELSE 0 + END + ) over ( + PARTITION BY dim.market_symbol + ORDER BY + dim.ts + ) AS price_id + FROM + dim + LEFT JOIN prices + ON dim.ts = prices.ts + AND dim.market_symbol = prices.market_symbol +), +hourly_prices AS ( + SELECT + ts, + market_symbol, + FIRST_VALUE(price) over ( + PARTITION BY price_id, + market_symbol + ORDER BY + ts + ) AS price + FROM + ffill +) +SELECT + * +FROM + hourly_prices +WHERE + price IS NOT NULL \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql new file mode 100644 index 00000000..8c644343 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql @@ -0,0 +1,59 @@ +WITH bought AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + + synth_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +), +sold AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + price / 1e18 + AS price, + -1 * + amount_returned / 1e18 + AS amount, + referrer + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + bought +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + price, + amount, + referrer +FROM + sold +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql new file mode 100644 index 00000000..04037a99 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql @@ -0,0 +1,13 @@ +WITH base AS ( + SELECT + synth_market_id AS id, + block_timestamp AS created_ts, + block_number, + synth_token_address AS token_address + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +) +SELECT + * +FROM + base \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql new file mode 100644 index 00000000..3bb400e1 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql @@ -0,0 +1,47 @@ +WITH wraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + + amount_wrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +), +unwraps AS ( + SELECT + id, + block_timestamp AS ts, + block_number, + transaction_hash AS tx_hash, + synth_market_id, + -1 * + amount_unwrapped / 1e18 + AS amount_wrapped + FROM + "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +) +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + wraps +UNION ALL +SELECT + id, + ts, + block_number, + tx_hash, + synth_market_id, + amount_wrapped +FROM + unwraps +ORDER BY + ts \ No newline at end of file diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql new file mode 100644 index 00000000..a7b1aab8 --- /dev/null +++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql @@ -0,0 +1,75 @@ +WITH wrapper AS ( + SELECT + ts, + block_number, + synth_market_id, + amount_wrapped AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia" +), +atomics AS ( + SELECT + ts, + block_number, + synth_market_id, + amount AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" + UNION ALL + SELECT + ts, + block_number, + 0 AS synth_market_id, + amount * price * -1 AS change_amount + FROM + "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia" +), +usd_changes AS ( + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" + UNION ALL + SELECT + block_timestamp AS ts, + block_number, + 0 AS synth_market_id, + -1 * + amount / 1e18 + AS change_amount + FROM + "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +), +all_changes AS ( + SELECT + * + FROM + wrapper + UNION ALL + SELECT + * + FROM + atomics + UNION ALL + SELECT + * + FROM + usd_changes +) +SELECT + ts, + block_number, + synth_market_id, + SUM(change_amount) over ( + PARTITION BY synth_market_id + ORDER BY + ts, + block_number + ) AS supply +FROM + all_changes \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql new file mode 100644 index 00000000..325cc9ec --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_mainnet"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_mainnet"."blocks_parquet" +), + +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql new file mode 100644 index 00000000..816fa887 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..bf2480d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql new file mode 100644 index 00000000..fb52b822 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql new file mode 100644 index 00000000..ebdb36d9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql new file mode 100644 index 00000000..8100b5de --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql new file mode 100644 index 00000000..6d0314c9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql @@ -0,0 +1,103 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql new file mode 100644 index 00000000..eb5184bb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql new file mode 100644 index 00000000..05680e64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql new file mode 100644 index 00000000..888555d1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql new file mode 100644 index 00000000..6336a4fa --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql new file mode 100644 index 00000000..169c44c6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql new file mode 100644 index 00000000..beaa04f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql @@ -0,0 +1,38 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + amount AS numeric + ) AS amount, + CAST( + "value" AS numeric + ) AS collateral_value + FROM + "analytics"."raw_arbitrum_mainnet"."core_get_vault_collateral" + WHERE + amount IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.amount / 1e18 + AS amount, + + base.collateral_value / 1e18 + AS collateral_value +FROM + base + JOIN "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql new file mode 100644 index 00000000..135fe90a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql @@ -0,0 +1,32 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + value_1 AS numeric + ) AS debt + FROM + "analytics"."raw_arbitrum_mainnet"."core_get_vault_debt" + WHERE + value_1 IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.debt / 1e18 + AS debt +FROM + base + JOIN "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql new file mode 100644 index 00000000..7eb51904 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql new file mode 100644 index 00000000..d4f4e3f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7082e635 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d8653aba --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dd9473e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7219d08f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..107c19fe --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..e80a8393 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..91773067 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d6444734 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ccff0e2f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..311c7f5a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..0021fdcd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..f98d7f8e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..09fb708e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..9cbdffb3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d119b008 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..feba6f3e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..84a4ce94 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..03ab7a27 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..852b3671 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d4dcf9a5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..6e6b9036 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..d3d7bf83 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dcf8b805 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..23fb34a4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..a0b65d01 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..ce0ab476 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..0bb04c48 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql new file mode 100644 index 00000000..223b08d5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..609b333d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7fd635e7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..94687d53 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..20fe7a47 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..0ce8229e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..7f233a7d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..b76840cd --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..02ace243 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..04f2b0c1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..cb4c34c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..44dcd5d2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..22de608b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..33d86d0f --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..dc1ea942 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..71cec6bc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql new file mode 100644 index 00000000..5cb60856 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql new file mode 100644 index 00000000..a4464bdc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql new file mode 100644 index 00000000..fb18df25 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql new file mode 100644 index 00000000..dc377e3b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql new file mode 100644 index 00000000..9c22bbff --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql new file mode 100644 index 00000000..0100469c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql new file mode 100644 index 00000000..e130a4cc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql new file mode 100644 index 00000000..de5c42b1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql new file mode 100644 index 00000000..bf62c3e8 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql new file mode 100644 index 00000000..19d0eec1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_sepolia"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_arbitrum_sepolia"."blocks_parquet" +), + +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql new file mode 100644 index 00000000..e6e1a2e9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..9952725a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql new file mode 100644 index 00000000..52cac0c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql new file mode 100644 index 00000000..e1278746 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql new file mode 100644 index 00000000..5bc84ea5 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql new file mode 100644 index 00000000..48f7bfdf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql @@ -0,0 +1,103 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql new file mode 100644 index 00000000..427a6de7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql new file mode 100644 index 00000000..05680e64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql new file mode 100644 index 00000000..72fa7f64 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql new file mode 100644 index 00000000..be349125 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql new file mode 100644 index 00000000..bffec804 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql new file mode 100644 index 00000000..1477f07d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql @@ -0,0 +1,38 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + amount AS numeric + ) AS amount, + CAST( + "value" AS numeric + ) AS collateral_value + FROM + "analytics"."raw_arbitrum_sepolia"."core_get_vault_collateral" + WHERE + amount IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.amount / 1e18 + AS amount, + + base.collateral_value / 1e18 + AS collateral_value +FROM + base + JOIN "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql new file mode 100644 index 00000000..937fce08 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql @@ -0,0 +1,32 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + value_1 AS numeric + ) AS debt + FROM + "analytics"."raw_arbitrum_sepolia"."core_get_vault_debt" + WHERE + value_1 IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.debt / 1e18 + AS debt +FROM + base + JOIN "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql new file mode 100644 index 00000000..6f4bf7d6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql new file mode 100644 index 00000000..c89eb5ce --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..845aab41 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..8e3489a4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..dc6dbf92 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..451cc12e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..31912abf --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..960c2c6e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..aa3cfec3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..416f245a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..8a5fb9b9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..3795fef0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..e21809b7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6a3921b2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4ce100c2 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4c1765eb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..0fe87b23 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..2dca64f9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..251d4754 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..992f215d --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7e395bd7 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..01b0a8f4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..ac6c6e7b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..ac19a3e4 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cce5af62 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..1ab85e68 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..9246fc01 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..7f1178ca --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..b9bed7e3 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql new file mode 100644 index 00000000..ca1da035 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..b3e027ae --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..599fa280 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cbee23ac --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..2e82a7f6 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6921f6e0 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..cc5cfa08 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..6e1c6926 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..b358bb9c --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..a552d606 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..43fde250 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..02e8828e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..9eb89a10 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..4d778e6e --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..297182dc --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..5d86e5b1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql new file mode 100644 index 00000000..94e443bb --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql new file mode 100644 index 00000000..028810a1 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql new file mode 100644 index 00000000..860e6484 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql new file mode 100644 index 00000000..e5cac981 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql new file mode 100644 index 00000000..b63bbe5a --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql new file mode 100644 index 00000000..6f3ee6a9 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql new file mode 100644 index 00000000..fe2b6a05 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql new file mode 100644 index 00000000..e0a64a8b --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql new file mode 100644 index 00000000..23d69429 --- /dev/null +++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql new file mode 100644 index 00000000..95283e40 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_mainnet"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_mainnet"."blocks_parquet" +), +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql new file mode 100644 index 00000000..c862cbb4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql @@ -0,0 +1,42 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."buyback_snx_legacy_event_buyback_processed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."buyback_snx_event_buyback_processed" + +) + +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql new file mode 100644 index 00000000..64b4cacf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql new file mode 100644 index 00000000..1d7a9d65 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql new file mode 100644 index 00000000..3f2e4147 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql new file mode 100644 index 00000000..af223701 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql new file mode 100644 index 00000000..512d62a9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql new file mode 100644 index 00000000..d8e36f0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql @@ -0,0 +1,151 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_deposited" + + ) legacy_usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_withdrawn" + + ) legacy_usd_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql new file mode 100644 index 00000000..20312094 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql new file mode 100644 index 00000000..d8fa18f2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql new file mode 100644 index 00000000..9dcc67dd --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql new file mode 100644 index 00000000..68d8ffa0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql new file mode 100644 index 00000000..b8d75b7b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql new file mode 100644 index 00000000..9a1bbec7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql @@ -0,0 +1,38 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + amount AS numeric + ) AS amount, + CAST( + "value" AS numeric + ) AS collateral_value + FROM + "analytics"."raw_base_mainnet"."core_get_vault_collateral" + WHERE + amount IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.amount / 1e18 + AS amount, + + base.collateral_value / 1e18 + AS collateral_value +FROM + base + JOIN "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql new file mode 100644 index 00000000..1dae484e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql @@ -0,0 +1,32 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + value_1 AS numeric + ) AS debt + FROM + "analytics"."raw_base_mainnet"."core_get_vault_debt" + WHERE + value_1 IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.debt / 1e18 + AS debt +FROM + base + JOIN "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql new file mode 100644 index 00000000..acf97de0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql new file mode 100644 index 00000000..e0d7c0a0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..4cde55aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql new file mode 100644 index 00000000..123cfe93 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql new file mode 100644 index 00000000..57fb1cf2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..c912e6ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql new file mode 100644 index 00000000..96516f43 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..ba4068d7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql new file mode 100644 index 00000000..d0ba9895 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql new file mode 100644 index 00000000..4af09277 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql new file mode 100644 index 00000000..e8d305c7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql new file mode 100644 index 00000000..612a319a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql new file mode 100644 index 00000000..4e002413 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..6a96a6b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql new file mode 100644 index 00000000..b4a5fa7f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..8e3801d2 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql new file mode 100644 index 00000000..9b940ee8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql new file mode 100644 index 00000000..81a420ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..8d9929ee --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql new file mode 100644 index 00000000..11ff901d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..fa919757 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql new file mode 100644 index 00000000..8550975c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql new file mode 100644 index 00000000..69092bfa --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql new file mode 100644 index 00000000..fd018b1b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql new file mode 100644 index 00000000..633c30db --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql new file mode 100644 index 00000000..bd349e7e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql new file mode 100644 index 00000000..234700c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql new file mode 100644 index 00000000..70fc4666 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql new file mode 100644 index 00000000..0a009948 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql new file mode 100644 index 00000000..536c3f6f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_liquidation_attempt" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql new file mode 100644 index 00000000..abf495c8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_collateral_modified" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql new file mode 100644 index 00000000..a83f277c --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_charged" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql new file mode 100644 index 00000000..e3a69e81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_rate_updated" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql new file mode 100644 index 00000000..0060f2ad --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_created" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql new file mode 100644 index 00000000..af833748 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql @@ -0,0 +1,51 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_market_updated" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_updated" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + 0 AS interest_rate +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + interest_rate +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql new file mode 100644 index 00000000..4c636146 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql @@ -0,0 +1,59 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_order_committed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_committed" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + CAST( + NULL AS numeric + ) AS expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql new file mode 100644 index 00000000..009f3a8d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql new file mode 100644 index 00000000..fbf21e6b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_position_liquidated" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql new file mode 100644 index 00000000..729deeac --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."perps_market_proxy_event_previous_order_expired" diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..979a9ca6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql new file mode 100644 index 00000000..1d27dff8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..ff9bdff9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..a468a8e8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..91ebfcc8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..4efd9cda --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql new file mode 100644 index 00000000..e4990dcc --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..a6fcfd0f --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql new file mode 100644 index 00000000..2c0b931b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql new file mode 100644 index 00000000..94cacabe --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql new file mode 100644 index 00000000..eb121c50 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql new file mode 100644 index 00000000..a896bd2e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..6bed39cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..c4838d67 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql new file mode 100644 index 00000000..9510fbd7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql new file mode 100644 index 00000000..99e3a8c5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql new file mode 100644 index 00000000..7eb90e2b --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql new file mode 100644 index 00000000..d2fab6f6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql new file mode 100644 index 00000000..d6c8b906 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..3eabae30 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..c6837c74 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql new file mode 100644 index 00000000..9d6dc442 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql new file mode 100644 index 00000000..d714b8ba --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql new file mode 100644 index 00000000..00106c6e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql new file mode 100644 index 00000000..39cff499 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql new file mode 100644 index 00000000..d12eed65 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql new file mode 100644 index 00000000..4ba9dc38 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql new file mode 100644 index 00000000..896f3982 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql new file mode 100644 index 00000000..cff6d35d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql new file mode 100644 index 00000000..0cbab168 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql new file mode 100644 index 00000000..08f0e37a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql new file mode 100644 index 00000000..5233a55d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql new file mode 100644 index 00000000..3d88d610 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql new file mode 100644 index 00000000..15a634e1 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql new file mode 100644 index 00000000..47c477f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql new file mode 100644 index 00000000..69164ba7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql new file mode 100644 index 00000000..b75cc49a --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql new file mode 100644 index 00000000..3243fc5d --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql new file mode 100644 index 00000000..b295b169 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql new file mode 100644 index 00000000..31384625 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql new file mode 100644 index 00000000..4c1f2a97 --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql new file mode 100644 index 00000000..5c8e643e --- /dev/null +++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql new file mode 100644 index 00000000..fd9a7c60 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql @@ -0,0 +1,38 @@ +WITH indexer_blocks AS ( + SELECT + "timestamp" AS ts, + CAST( + "number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_sepolia"."block" +), +parquet_blocks AS ( + SELECT + TO_TIMESTAMP("timestamp") AS ts, + CAST( + "block_number" AS INTEGER + ) AS block_number + FROM + "analytics"."raw_base_sepolia"."blocks_parquet" +), +combined_blocks AS ( + SELECT + * + FROM + indexer_blocks + + UNION ALL + + SELECT + * + FROM + parquet_blocks +) +SELECT + DISTINCT MIN(ts) AS ts, + block_number +FROM + combined_blocks +GROUP BY + block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql new file mode 100644 index 00000000..87c0917a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql @@ -0,0 +1,21 @@ +WITH current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."buyback_snx_event_buyback_processed" + +) + +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + event_name, + contract, + buyer, + snx, + usd +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql new file mode 100644 index 00000000..2fd652e4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql new file mode 100644 index 00000000..0a1d8aa4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_delegation_updated" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql new file mode 100644 index 00000000..7a59fd71 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_deposited" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql new file mode 100644 index 00000000..5715b0af --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_liquidation" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql new file mode 100644 index 00000000..e85f8178 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_registered" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql new file mode 100644 index 00000000..a8176c81 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql @@ -0,0 +1,151 @@ +WITH events AS ( + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_deposited" + + ) legacy_usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + "contract", + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_withdrawn" + + ) legacy_usd_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_deposited" + + ) collateral_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + sender, + collateral_type, + credit_capacity, + token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_withdrawn" + + ) collateral_withdrawn + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_deposited" + + ) usd_deposited + UNION ALL + SELECT + id, + block_timestamp, + block_number, + transaction_hash, + contract, + event_name, + market_id, + net_issuance, + deposited_collateral_value, + "target" AS sender, + 'USD' AS collateral_type, + credit_capacity, + amount AS token_amount + FROM + ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_withdrawn" + + ) usd_withdrawn +) +SELECT + * +FROM + events +ORDER BY + block_timestamp \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql new file mode 100644 index 00000000..a65e7ca8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_pool_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql new file mode 100644 index 00000000..2ea04e0c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_rewards_claimed" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql new file mode 100644 index 00000000..0ddf120f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_rewards_distributed" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql new file mode 100644 index 00000000..53fb3bae --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_usd_burned" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql new file mode 100644 index 00000000..c93d46a3 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_usd_minted" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql new file mode 100644 index 00000000..46010da8 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql @@ -0,0 +1,38 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + amount AS numeric + ) AS amount, + CAST( + "value" AS numeric + ) AS collateral_value + FROM + "analytics"."raw_base_sepolia"."core_get_vault_collateral" + WHERE + amount IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.amount / 1e18 + AS amount, + + base.collateral_value / 1e18 + AS collateral_value +FROM + base + JOIN "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql new file mode 100644 index 00000000..aba52b06 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql @@ -0,0 +1,32 @@ +WITH base AS ( + SELECT + block_number, + contract_address, + chain_id, + pool_id, + collateral_type, + CAST( + value_1 AS numeric + ) AS debt + FROM + "analytics"."raw_base_sepolia"."core_get_vault_debt" + WHERE + value_1 IS NOT NULL +) +SELECT + blocks.ts, + base.block_number, + base.contract_address, + CAST( + base.pool_id AS INTEGER + ) AS pool_id, + CAST( + base.collateral_type AS VARCHAR + ) AS collateral_type, + + base.debt / 1e18 + AS debt +FROM + base + JOIN "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" AS blocks + ON base.block_number = blocks.block_number \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql new file mode 100644 index 00000000..c997512f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_vault_liquidation" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql new file mode 100644 index 00000000..e4483001 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."core_proxy_event_withdrawn" diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..2b16ce4c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql new file mode 100644 index 00000000..a54eb52c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql new file mode 100644 index 00000000..9575815c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..e39b3676 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql new file mode 100644 index 00000000..c0fe8bb4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..0e043816 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql new file mode 100644 index 00000000..bae2e61f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql new file mode 100644 index 00000000..975c545f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql new file mode 100644 index 00000000..1f22834f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql new file mode 100644 index 00000000..dde6593b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql new file mode 100644 index 00000000..9f97825e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..67996b20 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql new file mode 100644 index 00000000..5451b429 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..bcaa88a6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql new file mode 100644 index 00000000..ad57ab2f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql new file mode 100644 index 00000000..69662d9d --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..324539fb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql new file mode 100644 index 00000000..de92bc9b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..19cc040a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql new file mode 100644 index 00000000..d551f47b --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql new file mode 100644 index 00000000..682fd3aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql new file mode 100644 index 00000000..61fc4e55 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql new file mode 100644 index 00000000..2f570332 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql new file mode 100644 index 00000000..1afa29d4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql new file mode 100644 index 00000000..afae4dbf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql new file mode 100644 index 00000000..a615eacd --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql new file mode 100644 index 00000000..31f9c3ad --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql new file mode 100644 index 00000000..62b4656e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_liquidation_attempt" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql new file mode 100644 index 00000000..67c764a7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_collateral_modified" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql new file mode 100644 index 00000000..702df676 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_charged" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql new file mode 100644 index 00000000..7c24b6b0 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_rate_updated" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql new file mode 100644 index 00000000..469c9e9c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_created" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql new file mode 100644 index 00000000..4fd47c2e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql @@ -0,0 +1,51 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_market_updated" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_updated" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + 0 AS interest_rate +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + price, + skew, + SIZE, + size_delta, + current_funding_rate, + current_funding_velocity, + interest_rate +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql new file mode 100644 index 00000000..e5072c35 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql @@ -0,0 +1,59 @@ +WITH legacy_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_order_committed" + +), +current_events AS ( + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_committed" + +) +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + CAST( + NULL AS numeric + ) AS expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + legacy_events +UNION ALL +SELECT + id, + block_number, + block_timestamp, + transaction_hash, + "contract", + event_name, + market_id, + account_id, + commitment_time, + expiration_time, + settlement_time, + expected_price_time, + acceptable_price, + order_type, + size_delta, + sender, + tracking_code +FROM + current_events \ No newline at end of file diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql new file mode 100644 index 00000000..78cde474 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql new file mode 100644 index 00000000..534ed44f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_position_liquidated" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql new file mode 100644 index 00000000..0d5b6dc4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."perps_market_proxy_event_previous_order_expired" diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..bcc587a9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql new file mode 100644 index 00000000..32d82d41 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..17888e3a --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..e042f06c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..1bb361f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..301ba8bc --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql new file mode 100644 index 00000000..2d00f540 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..a3ada392 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql new file mode 100644 index 00000000..4a0c71f9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql new file mode 100644 index 00000000..e1490ccb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql new file mode 100644 index 00000000..74128dc4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql new file mode 100644 index 00000000..53b640b9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..6618ffc6 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..daff45ac --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql new file mode 100644 index 00000000..587b9418 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql new file mode 100644 index 00000000..b969c1aa --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql new file mode 100644 index 00000000..034d3dda --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql @@ -0,0 +1,11 @@ + + + + + + +select block_number +from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" +where block_number is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql new file mode 100644 index 00000000..850d36b5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql @@ -0,0 +1,14 @@ + + + + +select + block_number as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia" +where block_number is not null +group by block_number +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql new file mode 100644 index 00000000..256b80c4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..88b4f9cf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..405cf6f5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql new file mode 100644 index 00000000..b67aa194 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql new file mode 100644 index 00000000..4ed3a9e9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql new file mode 100644 index 00000000..b757b4b4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql new file mode 100644 index 00000000..4182bd78 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql new file mode 100644 index 00000000..a5ea32e7 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql @@ -0,0 +1,11 @@ + + + + + + +select id +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where id is null + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql new file mode 100644 index 00000000..a540623e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql new file mode 100644 index 00000000..2e76d835 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql new file mode 100644 index 00000000..5cbf18e9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql new file mode 100644 index 00000000..7a852dc5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql new file mode 100644 index 00000000..ad591c27 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql new file mode 100644 index 00000000..61a60ba5 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql new file mode 100644 index 00000000..703aaca9 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql new file mode 100644 index 00000000..df7bcbbf --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql @@ -0,0 +1,14 @@ + + + + +select + id as unique_field, + count(*) as n_records + +from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia" +where id is not null +group by id +having count(*) > 1 + + diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql new file mode 100644 index 00000000..f79bcb5c --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_cancelled" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql new file mode 100644 index 00000000..89cf3b8e --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_committed" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql new file mode 100644 index 00000000..3c346c24 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_settled" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql new file mode 100644 index 00000000..baaae970 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_bought" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql new file mode 100644 index 00000000..09c94a2f --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_registered" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql new file mode 100644 index 00000000..2477afdb --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_sold" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql new file mode 100644 index 00000000..063e49f4 --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_unwrapped" diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql new file mode 100644 index 00000000..603d60ea --- /dev/null +++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql @@ -0,0 +1,5 @@ + +SELECT + * +FROM + "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_wrapped" diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql new file mode 100644 index 00000000..992cf3f9 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..9831dbed --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql new file mode 100644 index 00000000..70baaa32 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql new file mode 100644 index 00000000..16f53cac --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_mainnet_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql new file mode 100644 index 00000000..c081dc44 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..5541020e --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql new file mode 100644 index 00000000..1a584e66 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql new file mode 100644 index 00000000..eaee7180 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."arbitrum_sepolia_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql new file mode 100644 index 00000000..5518e365 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."base_mainnet_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..3d5e533f --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_mainnet_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql new file mode 100644 index 00000000..f430a1e1 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."base_mainnet_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql new file mode 100644 index 00000000..f3ca43b5 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_mainnet_tokens" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql new file mode 100644 index 00000000..199c7b9e --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql @@ -0,0 +1,11 @@ + + + + + + +select distributor_address +from "analytics"."prod_seeds"."base_sepolia_reward_distributors" +where distributor_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql new file mode 100644 index 00000000..c0bcd57f --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_sepolia_reward_distributors" +where token_symbol is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql new file mode 100644 index 00000000..1a8b74f2 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql @@ -0,0 +1,11 @@ + + + + + + +select token_address +from "analytics"."prod_seeds"."base_sepolia_tokens" +where token_address is null + + diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql new file mode 100644 index 00000000..75814f13 --- /dev/null +++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql @@ -0,0 +1,11 @@ + + + + + + +select token_symbol +from "analytics"."prod_seeds"."base_sepolia_tokens" +where token_symbol is null + + diff --git a/graph.gpickle b/graph.gpickle new file mode 100644 index 00000000..b2c20260 Binary files /dev/null and b/graph.gpickle differ diff --git a/graph_summary.json b/graph_summary.json new file mode 100644 index 00000000..18f0f0b8 --- /dev/null +++ b/graph_summary.json @@ -0,0 +1 @@ +{"_invocation_id": "c4d9800a-0748-42c4-9bde-765aa21c4ba9", "linked": {"0": {"name": "source.synthetix.raw_base_sepolia.block", "type": "source", "succ": [1299]}, "1": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1157]}, "2": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1168]}, "3": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1162]}, "4": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1171]}, "5": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1167]}, "6": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1167]}, "7": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1164]}, "8": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1164]}, "9": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1158]}, "10": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1160]}, "11": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1173]}, "12": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1300]}, "13": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1170]}, "14": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1307]}, "15": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1308]}, "16": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1306]}, "17": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1202]}, "18": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1204]}, "19": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1205]}, "20": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1199]}, "21": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1200]}, "22": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1301]}, "23": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1187]}, "24": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1192]}, "25": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1193]}, "26": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1303]}, "27": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1304]}, "28": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1195]}, "29": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1302]}, "30": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1196]}, "31": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1179]}, "32": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1180]}, "33": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1305]}, "34": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1190]}, "35": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1190]}, "36": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1190]}, "37": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1190]}, "38": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1190]}, "39": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1190]}, "40": {"name": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "type": "source", "succ": [1137]}, "41": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "type": "source", "succ": [1153]}, "42": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "type": "source", "succ": [1166]}, "43": {"name": "source.synthetix.raw_base_sepolia.blocks_parquet", "type": "source", "succ": [1299]}, "44": {"name": "source.synthetix.raw_arbitrum_sepolia.block", "type": "source", "succ": [1281]}, "45": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1289]}, "46": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1288]}, "47": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1287]}, "48": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1095]}, "49": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1090]}, "50": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1091]}, "51": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1092]}, "52": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1093]}, "53": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1282]}, "54": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1077]}, "55": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1082]}, "56": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1083]}, "57": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1285]}, "58": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1284]}, "59": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1085]}, "60": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "type": "source"}, "61": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1072]}, "62": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1079]}, "63": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1080]}, "64": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1283]}, "65": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1070]}, "66": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1070]}, "67": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1070]}, "68": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1070]}, "69": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "type": "source", "succ": [1060]}, "70": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "type": "source", "succ": [1075]}, "71": {"name": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "type": "source", "succ": [1281]}, "72": {"name": "source.synthetix.raw_arbitrum_mainnet.block", "type": "source", "succ": [1290]}, "73": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1297]}, "74": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1296]}, "75": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1298]}, "76": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1133]}, "77": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1128]}, "78": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1129]}, "79": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1130]}, "80": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1131]}, "81": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1292]}, "82": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1110]}, "83": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1119]}, "84": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1120]}, "85": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1293]}, "86": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1291]}, "87": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1108]}, "88": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1286, 1294]}, "89": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1112]}, "90": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1123]}, "91": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1124]}, "92": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1295]}, "93": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1122]}, "94": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1122]}, "95": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1122]}, "96": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1122]}, "97": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "type": "source", "succ": [1098]}, "98": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "type": "source", "succ": [1106]}, "99": {"name": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "type": "source", "succ": [1290]}, "100": {"name": "source.synthetix.raw_base_mainnet.block", "type": "source", "succ": [1309]}, "101": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1242]}, "102": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1237]}, "103": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1236]}, "104": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1234]}, "105": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1240]}, "106": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1240]}, "107": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1244]}, "108": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1244]}, "109": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1233]}, "110": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1231]}, "111": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1230]}, "112": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1310]}, "113": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1239]}, "114": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1317]}, "115": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1316]}, "116": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1318]}, "117": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1278]}, "118": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1279]}, "119": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1280]}, "120": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1275]}, "121": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1276]}, "122": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1315]}, "123": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1262]}, "124": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1259]}, "125": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1260]}, "126": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1314]}, "127": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1311]}, "128": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1269]}, "129": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1313]}, "130": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1266]}, "131": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1263]}, "132": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1264]}, "133": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1312]}, "134": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1271]}, "135": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1271]}, "136": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1271]}, "137": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1271]}, "138": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1271]}, "139": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1271]}, "140": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "type": "source", "succ": [1209]}, "141": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "type": "source", "succ": [1209]}, "142": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "type": "source", "succ": [1227]}, "143": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "type": "source", "succ": [1246]}, "144": {"name": "source.synthetix.raw_base_mainnet.blocks_parquet", "type": "source", "succ": [1309]}, "145": {"name": "source.synthetix.raw_optimism_mainnet.block", "type": "source"}, "146": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "type": "source"}, "147": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "type": "source"}, "148": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "type": "source"}, "149": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "type": "source"}, "150": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "type": "source"}, "151": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "type": "source"}, "152": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source"}, "153": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source"}, "154": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "type": "source"}, "155": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "type": "source"}, "156": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "type": "source"}, "157": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "type": "source"}, "158": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "type": "source"}, "159": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "type": "source"}, "160": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "type": "source"}, "161": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "type": "source"}, "162": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "type": "source"}, "163": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "type": "source"}, "164": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "type": "source"}, "165": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "type": "source"}, "166": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "type": "source"}, "167": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source"}, "168": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "type": "source"}, "169": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "type": "source"}, "170": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "type": "source"}, "171": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "type": "source"}, "172": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "type": "source"}, "173": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "type": "source"}, "174": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "type": "source"}, "175": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "type": "source"}, "176": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "type": "source"}, "177": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "type": "source"}, "178": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "type": "source"}, "179": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "type": "source"}, "180": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "type": "source"}, "181": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "type": "source"}, "182": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "type": "source"}, "183": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "type": "source"}, "184": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "type": "source"}, "185": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "type": "source"}, "186": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "type": "source"}, "187": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "type": "source"}, "188": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "type": "source"}, "189": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "type": "source"}, "190": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "type": "source"}, "191": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "type": "source"}, "192": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "type": "source"}, "193": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "type": "source"}, "194": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "type": "source"}, "195": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "type": "source"}, "196": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "type": "source"}, "197": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "type": "source"}, "198": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "type": "source"}, "199": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "type": "source"}, "200": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "type": "source"}, "201": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "type": "source"}, "202": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "type": "source"}, "203": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "type": "source"}, "204": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "type": "source"}, "205": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "type": "source"}, "206": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "type": "source"}, "207": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "type": "source"}, "208": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "type": "source"}, "209": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "type": "source"}, "210": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "type": "source"}, "211": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "type": "source"}, "212": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "type": "source"}, "213": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "type": "source"}, "214": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "type": "source"}, "215": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "type": "source"}, "216": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "type": "source"}, "217": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "type": "source"}, "218": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "type": "source"}, "219": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "type": "source"}, "220": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "type": "source"}, "221": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "type": "source"}, "222": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "type": "source"}, "223": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "type": "source"}, "224": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "type": "source"}, "225": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "type": "source"}, "226": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "type": "source"}, "227": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "type": "source"}, "228": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "type": "source"}, "229": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "type": "source"}, "230": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "type": "source"}, "231": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "type": "source"}, "232": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "type": "source"}, "233": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "type": "source"}, "234": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "type": "source"}, "235": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "type": "source"}, "236": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "type": "source"}, "237": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "type": "source"}, "238": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "type": "source"}, "239": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "type": "source"}, "240": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "type": "source"}, "241": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "type": "source"}, "242": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "type": "source"}, "243": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "type": "source"}, "244": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "type": "source"}, "245": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "type": "source"}, "246": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "type": "source"}, "247": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "type": "source"}, "248": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "type": "source"}, "249": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "type": "source"}, "250": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "type": "source"}, "251": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "type": "source"}, "252": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "type": "source"}, "253": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "type": "source"}, "254": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "type": "source"}, "255": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "type": "source"}, "256": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "type": "source"}, "257": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "type": "source"}, "258": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "type": "source"}, "259": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "type": "source"}, "260": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "type": "source"}, "261": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "type": "source"}, "262": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "type": "source"}, "263": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "type": "source"}, "264": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "type": "source"}, "265": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "type": "source"}, "266": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "type": "source"}, "267": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "type": "source"}, "268": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "type": "source"}, "269": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "type": "source"}, "270": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "type": "source"}, "271": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "type": "source"}, "272": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "type": "source"}, "273": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "type": "source"}, "274": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "type": "source"}, "275": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "type": "source"}, "276": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "type": "source"}, "277": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "type": "source"}, "278": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "type": "source"}, "279": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "type": "source"}, "280": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "type": "source"}, "281": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "type": "source"}, "282": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "type": "source"}, "283": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "type": "source"}, "284": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "type": "source"}, "285": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "type": "source"}, "286": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "type": "source"}, "287": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "type": "source"}, "288": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "type": "source"}, "289": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "type": "source"}, "290": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "type": "source"}, "291": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "type": "source"}, "292": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "type": "source"}, "293": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "type": "source"}, "294": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "type": "source"}, "295": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "type": "source"}, "296": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "type": "source"}, "297": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "type": "source"}, "298": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "type": "source"}, "299": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "type": "source"}, "300": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "type": "source"}, "301": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "type": "source"}, "302": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "type": "source"}, "303": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "type": "source"}, "304": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "type": "source"}, "305": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "type": "source"}, "306": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "type": "source"}, "307": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "type": "source"}, "308": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "type": "source"}, "309": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "type": "source"}, "310": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "type": "source"}, "311": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "type": "source"}, "312": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "type": "source"}, "313": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "type": "source"}, "314": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "type": "source"}, "315": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "type": "source"}, "316": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "type": "source"}, "317": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "type": "source"}, "318": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "type": "source"}, "319": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "type": "source"}, "320": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "type": "source"}, "321": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "type": "source"}, "322": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "type": "source"}, "323": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "type": "source"}, "324": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "type": "source"}, "325": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "type": "source"}, "326": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "type": "source"}, "327": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "type": "source"}, "328": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "type": "source"}, "329": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "type": "source"}, "330": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "type": "source"}, "331": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "type": "source"}, "332": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "type": "source"}, "333": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "type": "source"}, "334": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "type": "source"}, "335": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "type": "source"}, "336": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "type": "source"}, "337": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "type": "source"}, "338": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "type": "source"}, "339": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "type": "source"}, "340": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "type": "source"}, "341": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "type": "source"}, "342": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "type": "source"}, "343": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "type": "source"}, "344": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "type": "source"}, "345": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "type": "source"}, "346": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "type": "source"}, "347": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "type": "source"}, "348": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "type": "source"}, "349": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "type": "source"}, "350": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "type": "source"}, "351": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "type": "source"}, "352": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "type": "source"}, "353": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "type": "source"}, "354": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "type": "source"}, "355": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "type": "source"}, "356": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "type": "source"}, "357": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "type": "source"}, "358": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "type": "source"}, "359": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "type": "source"}, "360": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "type": "source"}, "361": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "type": "source"}, "362": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "type": "source"}, "363": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "type": "source"}, "364": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "type": "source"}, "365": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "type": "source"}, "366": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "type": "source"}, "367": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "type": "source"}, "368": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "type": "source"}, "369": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "type": "source"}, "370": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "type": "source"}, "371": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "type": "source"}, "372": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "type": "source"}, "373": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "type": "source"}, "374": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "type": "source"}, "375": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "type": "source"}, "376": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "type": "source"}, "377": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "type": "source"}, "378": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "type": "source"}, "379": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "type": "source"}, "380": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "type": "source"}, "381": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "type": "source"}, "382": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "type": "source"}, "383": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "type": "source"}, "384": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "type": "source"}, "385": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "type": "source"}, "386": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "type": "source"}, "387": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "type": "source"}, "388": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "type": "source"}, "389": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "type": "source"}, "390": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "type": "source"}, "391": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "type": "source"}, "392": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "type": "source"}, "393": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "type": "source"}, "394": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "type": "source"}, "395": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "type": "source"}, "396": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "type": "source"}, "397": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "type": "source"}, "398": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "type": "source"}, "399": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "type": "source"}, "400": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "type": "source"}, "401": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "type": "source"}, "402": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "type": "source"}, "403": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "type": "source"}, "404": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "type": "source"}, "405": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "type": "source"}, "406": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "type": "source"}, "407": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "type": "source"}, "408": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "type": "source"}, "409": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "type": "source"}, "410": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "type": "source"}, "411": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "type": "source"}, "412": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "type": "source"}, "413": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "type": "source"}, "414": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "type": "source"}, "415": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "type": "source"}, "416": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "type": "source"}, "417": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "type": "source"}, "418": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "type": "source"}, "419": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "type": "source"}, "420": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "type": "source"}, "421": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "type": "source"}, "422": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "type": "source"}, "423": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "type": "source"}, "424": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "type": "source"}, "425": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "type": "source"}, "426": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "type": "source"}, "427": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "type": "source"}, "428": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "type": "source"}, "429": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "type": "source"}, "430": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "type": "source"}, "431": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "type": "source"}, "432": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "type": "source"}, "433": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "type": "source"}, "434": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "type": "source"}, "435": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "type": "source"}, "436": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "type": "source"}, "437": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "type": "source"}, "438": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "type": "source"}, "439": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "type": "source"}, "440": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "type": "source"}, "441": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "type": "source"}, "442": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "type": "source"}, "443": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "type": "source"}, "444": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "type": "source"}, "445": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "type": "source"}, "446": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "type": "source"}, "447": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "type": "source"}, "448": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "type": "source"}, "449": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "type": "source"}, "450": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "type": "source"}, "451": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "type": "source"}, "452": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "type": "source"}, "453": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "type": "source"}, "454": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "type": "source"}, "455": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "type": "source"}, "456": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "type": "source"}, "457": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "type": "source"}, "458": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "type": "source"}, "459": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "type": "source"}, "460": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "type": "source"}, "461": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "type": "source"}, "462": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "type": "source"}, "463": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "type": "source"}, "464": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "type": "source"}, "465": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "type": "source"}, "466": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "type": "source"}, "467": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "type": "source"}, "468": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "type": "source"}, "469": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "type": "source"}, "470": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "type": "source"}, "471": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "type": "source"}, "472": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "type": "source"}, "473": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "type": "source"}, "474": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "type": "source"}, "475": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "type": "source"}, "476": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "type": "source"}, "477": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "type": "source"}, "478": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "type": "source"}, "479": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "type": "source"}, "480": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "type": "source"}, "481": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "type": "source"}, "482": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "type": "source"}, "483": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "type": "source"}, "484": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "type": "source"}, "485": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "type": "source"}, "486": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "type": "source"}, "487": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "type": "source"}, "488": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "type": "source"}, "489": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "type": "source"}, "490": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "type": "source"}, "491": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "type": "source"}, "492": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "type": "source"}, "493": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "type": "source"}, "494": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "type": "source"}, "495": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "type": "source"}, "496": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "type": "source"}, "497": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "type": "source"}, "498": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "type": "source"}, "499": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "type": "source"}, "500": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "type": "source"}, "501": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "type": "source"}, "502": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "type": "source"}, "503": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "type": "source"}, "504": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "type": "source"}, "505": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "type": "source"}, "506": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "type": "source"}, "507": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "type": "source"}, "508": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "type": "source"}, "509": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "type": "source"}, "510": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "type": "source"}, "511": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "type": "source"}, "512": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "type": "source"}, "513": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "type": "source"}, "514": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "type": "source"}, "515": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "type": "source"}, "516": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "type": "source"}, "517": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "type": "source"}, "518": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "type": "source"}, "519": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "type": "source"}, "520": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "type": "source"}, "521": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "type": "source"}, "522": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "type": "source"}, "523": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "type": "source"}, "524": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "type": "source"}, "525": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "type": "source"}, "526": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "type": "source"}, "527": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "type": "source"}, "528": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "type": "source"}, "529": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "type": "source"}, "530": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "type": "source"}, "531": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "type": "source"}, "532": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "type": "source"}, "533": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "type": "source"}, "534": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "type": "source"}, "535": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "type": "source"}, "536": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "type": "source"}, "537": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "type": "source"}, "538": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "type": "source"}, "539": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "type": "source"}, "540": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "type": "source"}, "541": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "type": "source"}, "542": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "type": "source"}, "543": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "type": "source"}, "544": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "type": "source"}, "545": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "type": "source"}, "546": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "type": "source"}, "547": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "type": "source"}, "548": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "type": "source"}, "549": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "type": "source"}, "550": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "type": "source"}, "551": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "type": "source"}, "552": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "type": "source"}, "553": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "type": "source"}, "554": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "type": "source"}, "555": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "type": "source"}, "556": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "type": "source"}, "557": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "type": "source"}, "558": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "type": "source"}, "559": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "type": "source"}, "560": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "type": "source"}, "561": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "type": "source"}, "562": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "type": "source"}, "563": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "type": "source"}, "564": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "type": "source"}, "565": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "type": "source"}, "566": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "type": "source"}, "567": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "type": "source"}, "568": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "type": "source"}, "569": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "type": "source"}, "570": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "type": "source"}, "571": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "type": "source"}, "572": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "type": "source"}, "573": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "type": "source"}, "574": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "type": "source"}, "575": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "type": "source"}, "576": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "type": "source"}, "577": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "type": "source"}, "578": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "type": "source"}, "579": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "type": "source"}, "580": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "type": "source"}, "581": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "type": "source"}, "582": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "type": "source"}, "583": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "type": "source"}, "584": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "type": "source"}, "585": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "type": "source"}, "586": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "type": "source"}, "587": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "type": "source"}, "588": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "type": "source"}, "589": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "type": "source"}, "590": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "type": "source"}, "591": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "type": "source"}, "592": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "type": "source"}, "593": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "type": "source"}, "594": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "type": "source"}, "595": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "type": "source"}, "596": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "type": "source"}, "597": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "type": "source"}, "598": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "type": "source"}, "599": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "type": "source"}, "600": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "type": "source"}, "601": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "type": "source"}, "602": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "type": "source"}, "603": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "type": "source"}, "604": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "type": "source"}, "605": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "type": "source"}, "606": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "type": "source"}, "607": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "type": "source"}, "608": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "type": "source"}, "609": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "type": "source"}, "610": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "type": "source"}, "611": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "type": "source"}, "612": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "type": "source"}, "613": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "type": "source"}, "614": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "type": "source"}, "615": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "type": "source"}, "616": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "type": "source"}, "617": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "type": "source"}, "618": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "type": "source"}, "619": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "type": "source"}, "620": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "type": "source"}, "621": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "type": "source"}, "622": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "type": "source"}, "623": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "type": "source"}, "624": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "type": "source"}, "625": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "type": "source"}, "626": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "type": "source"}, "627": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "type": "source"}, "628": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "type": "source"}, "629": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "type": "source"}, "630": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "type": "source"}, "631": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "type": "source"}, "632": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "type": "source"}, "633": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "type": "source"}, "634": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "type": "source"}, "635": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "type": "source"}, "636": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "type": "source"}, "637": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "type": "source"}, "638": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "type": "source"}, "639": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "type": "source"}, "640": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "type": "source"}, "641": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "type": "source"}, "642": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "type": "source"}, "643": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "type": "source"}, "644": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "type": "source"}, "645": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "type": "source"}, "646": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "type": "source"}, "647": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "type": "source"}, "648": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "type": "source"}, "649": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "type": "source"}, "650": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "type": "source"}, "651": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "type": "source"}, "652": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "type": "source"}, "653": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "type": "source"}, "654": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "type": "source"}, "655": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "type": "source"}, "656": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "type": "source"}, "657": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "type": "source"}, "658": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "type": "source"}, "659": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "type": "source"}, "660": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "type": "source"}, "661": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "type": "source"}, "662": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "type": "source"}, "663": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "type": "source"}, "664": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "type": "source"}, "665": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "type": "source"}, "666": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "type": "source"}, "667": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "type": "source"}, "668": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "type": "source"}, "669": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "type": "source"}, "670": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "type": "source"}, "671": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "type": "source"}, "672": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "type": "source"}, "673": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "type": "source"}, "674": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "type": "source"}, "675": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "type": "source"}, "676": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "type": "source"}, "677": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "type": "source"}, "678": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "type": "source"}, "679": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "type": "source"}, "680": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "type": "source"}, "681": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "type": "source"}, "682": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "type": "source"}, "683": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "type": "source"}, "684": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "type": "source"}, "685": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "type": "source"}, "686": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "type": "source"}, "687": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "type": "source"}, "688": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "type": "source"}, "689": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "type": "source"}, "690": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "type": "source"}, "691": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "type": "source"}, "692": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "type": "source"}, "693": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "type": "source"}, "694": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "type": "source"}, "695": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "type": "source"}, "696": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "type": "source"}, "697": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "type": "source"}, "698": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "type": "source"}, "699": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "type": "source"}, "700": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "type": "source"}, "701": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "type": "source"}, "702": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "type": "source"}, "703": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "type": "source"}, "704": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "type": "source"}, "705": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "type": "source"}, "706": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "type": "source"}, "707": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "type": "source"}, "708": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "type": "source"}, "709": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "type": "source"}, "710": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "type": "source"}, "711": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "type": "source"}, "712": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "type": "source"}, "713": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "type": "source"}, "714": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "type": "source"}, "715": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "type": "source"}, "716": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "type": "source"}, "717": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "type": "source"}, "718": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "type": "source"}, "719": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "type": "source"}, "720": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "type": "source"}, "721": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "type": "source"}, "722": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "type": "source"}, "723": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "type": "source"}, "724": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "type": "source"}, "725": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "type": "source"}, "726": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "type": "source"}, "727": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "type": "source"}, "728": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "type": "source"}, "729": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "type": "source"}, "730": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "type": "source"}, "731": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "type": "source"}, "732": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "type": "source"}, "733": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "type": "source"}, "734": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "type": "source"}, "735": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "type": "source"}, "736": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "type": "source"}, "737": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "type": "source"}, "738": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "type": "source"}, "739": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "type": "source"}, "740": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "type": "source"}, "741": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "type": "source"}, "742": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "type": "source"}, "743": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "type": "source"}, "744": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "type": "source"}, "745": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "type": "source"}, "746": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "type": "source"}, "747": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "type": "source"}, "748": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "type": "source"}, "749": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "type": "source"}, "750": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "type": "source"}, "751": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "type": "source"}, "752": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "type": "source"}, "753": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "type": "source"}, "754": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "type": "source"}, "755": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "type": "source"}, "756": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "type": "source"}, "757": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "type": "source"}, "758": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "type": "source"}, "759": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "type": "source"}, "760": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "type": "source"}, "761": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "type": "source"}, "762": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "type": "source"}, "763": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "type": "source"}, "764": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "type": "source"}, "765": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "type": "source"}, "766": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "type": "source"}, "767": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "type": "source"}, "768": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "type": "source"}, "769": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "type": "source"}, "770": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "type": "source"}, "771": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "type": "source"}, "772": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "type": "source"}, "773": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "type": "source"}, "774": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "type": "source"}, "775": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "type": "source"}, "776": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "type": "source"}, "777": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "type": "source"}, "778": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "type": "source"}, "779": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "type": "source"}, "780": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "type": "source"}, "781": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "type": "source"}, "782": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "type": "source"}, "783": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "type": "source"}, "784": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "type": "source"}, "785": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "type": "source"}, "786": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "type": "source"}, "787": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "type": "source"}, "788": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "type": "source"}, "789": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "type": "source"}, "790": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "type": "source"}, "791": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "type": "source"}, "792": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "type": "source"}, "793": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "type": "source"}, "794": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "type": "source"}, "795": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "type": "source"}, "796": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "type": "source"}, "797": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "type": "source"}, "798": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "type": "source"}, "799": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "type": "source"}, "800": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "type": "source"}, "801": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "type": "source"}, "802": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "type": "source"}, "803": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "type": "source"}, "804": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "type": "source"}, "805": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "type": "source"}, "806": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "type": "source"}, "807": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "type": "source"}, "808": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "type": "source"}, "809": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "type": "source"}, "810": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "type": "source"}, "811": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "type": "source"}, "812": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "type": "source"}, "813": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "type": "source"}, "814": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "type": "source"}, "815": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "type": "source"}, "816": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "type": "source"}, "817": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "type": "source"}, "818": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "type": "source"}, "819": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "type": "source"}, "820": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "type": "source"}, "821": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "type": "source"}, "822": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "type": "source"}, "823": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "type": "source"}, "824": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "type": "source"}, "825": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "type": "source"}, "826": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "type": "source"}, "827": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "type": "source"}, "828": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "type": "source"}, "829": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "type": "source"}, "830": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "type": "source"}, "831": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "type": "source"}, "832": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "type": "source"}, "833": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "type": "source"}, "834": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "type": "source"}, "835": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "type": "source"}, "836": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "type": "source"}, "837": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "type": "source"}, "838": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "type": "source"}, "839": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "type": "source"}, "840": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "type": "source"}, "841": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "type": "source"}, "842": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "type": "source"}, "843": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "type": "source"}, "844": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "type": "source"}, "845": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "type": "source"}, "846": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "type": "source"}, "847": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "type": "source"}, "848": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "type": "source"}, "849": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "type": "source"}, "850": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "type": "source"}, "851": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "type": "source"}, "852": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "type": "source"}, "853": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "type": "source"}, "854": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "type": "source"}, "855": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "type": "source"}, "856": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "type": "source"}, "857": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "type": "source"}, "858": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "type": "source"}, "859": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "type": "source"}, "860": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "type": "source"}, "861": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "type": "source"}, "862": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "type": "source"}, "863": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "type": "source"}, "864": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "type": "source"}, "865": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "type": "source"}, "866": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "type": "source"}, "867": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "type": "source"}, "868": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "type": "source"}, "869": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "type": "source"}, "870": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "type": "source"}, "871": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "type": "source"}, "872": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "type": "source"}, "873": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "type": "source"}, "874": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "type": "source"}, "875": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "type": "source"}, "876": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "type": "source"}, "877": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "type": "source"}, "878": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "type": "source"}, "879": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "type": "source"}, "880": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "type": "source"}, "881": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "type": "source"}, "882": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "type": "source"}, "883": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "type": "source"}, "884": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "type": "source"}, "885": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "type": "source"}, "886": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "type": "source"}, "887": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "type": "source"}, "888": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "type": "source"}, "889": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "type": "source"}, "890": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "type": "source"}, "891": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "type": "source"}, "892": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "type": "source"}, "893": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "type": "source"}, "894": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "type": "source"}, "895": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "type": "source"}, "896": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "type": "source"}, "897": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "type": "source"}, "898": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "type": "source"}, "899": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "type": "source"}, "900": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "type": "source"}, "901": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "type": "source"}, "902": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "type": "source"}, "903": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "type": "source"}, "904": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "type": "source"}, "905": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "type": "source"}, "906": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "type": "source"}, "907": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "type": "source"}, "908": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "type": "source"}, "909": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "type": "source"}, "910": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "type": "source"}, "911": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "type": "source"}, "912": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "type": "source"}, "913": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "type": "source"}, "914": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "type": "source"}, "915": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "type": "source"}, "916": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "type": "source"}, "917": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "type": "source"}, "918": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "type": "source"}, "919": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "type": "source"}, "920": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "type": "source"}, "921": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "type": "source"}, "922": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "type": "source"}, "923": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "type": "source"}, "924": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "type": "source"}, "925": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "type": "source"}, "926": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "type": "source"}, "927": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "type": "source"}, "928": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "type": "source"}, "929": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "type": "source"}, "930": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "type": "source"}, "931": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "type": "source"}, "932": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "type": "source"}, "933": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "type": "source"}, "934": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "type": "source"}, "935": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "type": "source"}, "936": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "type": "source"}, "937": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "type": "source"}, "938": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "type": "source"}, "939": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "type": "source"}, "940": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "type": "source"}, "941": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "type": "source"}, "942": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "type": "source"}, "943": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "type": "source"}, "944": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "type": "source"}, "945": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "type": "source"}, "946": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "type": "source"}, "947": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "type": "source"}, "948": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "type": "source"}, "949": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "type": "source"}, "950": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "type": "source"}, "951": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "type": "source"}, "952": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "type": "source"}, "953": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "type": "source"}, "954": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "type": "source"}, "955": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "type": "source"}, "956": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "type": "source"}, "957": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "type": "source"}, "958": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "type": "source"}, "959": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "type": "source"}, "960": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "type": "source"}, "961": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "type": "source"}, "962": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "type": "source"}, "963": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "type": "source"}, "964": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "type": "source"}, "965": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "type": "source"}, "966": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "type": "source"}, "967": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "type": "source"}, "968": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "type": "source"}, "969": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "type": "source"}, "970": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "type": "source"}, "971": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "type": "source"}, "972": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "type": "source"}, "973": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "type": "source"}, "974": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "type": "source"}, "975": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "type": "source"}, "976": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "type": "source"}, "977": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "type": "source"}, "978": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "type": "source"}, "979": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "type": "source"}, "980": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "type": "source"}, "981": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "type": "source"}, "982": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "type": "source"}, "983": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "type": "source"}, "984": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "type": "source"}, "985": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "type": "source"}, "986": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "type": "source"}, "987": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "type": "source"}, "988": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "type": "source"}, "989": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "type": "source"}, "990": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "type": "source"}, "991": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "type": "source"}, "992": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "type": "source"}, "993": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "type": "source"}, "994": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "type": "source"}, "995": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "type": "source"}, "996": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "type": "source"}, "997": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "type": "source"}, "998": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "type": "source"}, "999": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "type": "source"}, "1000": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "type": "source"}, "1001": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "type": "source"}, "1002": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "type": "source"}, "1003": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "type": "source"}, "1004": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "type": "source"}, "1005": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "type": "source"}, "1006": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "type": "source"}, "1007": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "type": "source"}, "1008": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "type": "source"}, "1009": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "type": "source"}, "1010": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "type": "source"}, "1011": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "type": "source"}, "1012": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "type": "source"}, "1013": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "type": "source"}, "1014": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "type": "source"}, "1015": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "type": "source"}, "1016": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "type": "source"}, "1017": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "type": "source"}, "1018": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "type": "source"}, "1019": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "type": "source"}, "1020": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "type": "source"}, "1021": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "type": "source"}, "1022": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "type": "source"}, "1023": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "type": "source"}, "1024": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "type": "source"}, "1025": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "type": "source"}, "1026": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "type": "source"}, "1027": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "type": "source"}, "1028": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "type": "source"}, "1029": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "type": "source"}, "1030": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "type": "source"}, "1031": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "type": "source"}, "1032": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "type": "source"}, "1033": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "type": "source"}, "1034": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "type": "source"}, "1035": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "type": "source"}, "1036": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "type": "source"}, "1037": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "type": "source"}, "1038": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "type": "source"}, "1039": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "type": "source"}, "1040": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "type": "source"}, "1041": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "type": "source"}, "1042": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "type": "source"}, "1043": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "type": "source"}, "1044": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "type": "source"}, "1045": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "type": "source"}, "1046": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "type": "source"}, "1047": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "type": "source"}, "1048": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "type": "source"}, "1049": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "type": "source"}, "1050": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "type": "source"}, "1051": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "type": "source"}, "1052": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "type": "source"}, "1053": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "type": "source"}, "1054": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "type": "source"}, "1055": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "type": "source"}, "1056": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "type": "source"}, "1057": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "type": "source"}, "1058": {"name": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "type": "model", "succ": [1074]}, "1059": {"name": "model.synthetix.fct_prices_arbitrum_sepolia", "type": "model", "succ": [1058]}, "1060": {"name": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "type": "model", "succ": [1059, 1063]}, "1061": {"name": "seed.synthetix.arbitrum_sepolia_tokens", "type": "seed", "succ": [1059, 1329, 1330]}, "1062": {"name": "model.synthetix.fct_core_apr_arbitrum_sepolia", "type": "model"}, "1063": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "type": "model", "succ": [1062, 1068]}, "1064": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "type": "model", "succ": [1063]}, "1065": {"name": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "type": "model", "succ": [1064]}, "1066": {"name": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "type": "model", "succ": [1064, 1074, 1063]}, "1067": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "type": "model"}, "1068": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "type": "model", "succ": [1067]}, "1069": {"name": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "type": "model"}, "1070": {"name": "model.synthetix.core_market_updated_arbitrum_sepolia", "type": "model", "succ": [1069, 1347, 1348]}, "1071": {"name": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "type": "model", "succ": [1074]}, "1072": {"name": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "type": "model", "succ": [1071, 1355, 1356]}, "1073": {"name": "seed.synthetix.arbitrum_sepolia_reward_distributors", "type": "seed", "succ": [1071, 1321, 1322]}, "1074": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "type": "model", "succ": [1068, 1078]}, "1075": {"name": "model.synthetix.core_vault_debt_arbitrum_sepolia", "type": "model", "succ": [1066]}, "1076": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "type": "model"}, "1077": {"name": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "type": "model", "succ": [1076, 1086, 1339, 1340]}, "1078": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "type": "model", "succ": [1063]}, "1079": {"name": "model.synthetix.core_usd_burned_arbitrum_sepolia", "type": "model", "succ": [1065, 1087, 1357, 1358]}, "1080": {"name": "model.synthetix.core_usd_minted_arbitrum_sepolia", "type": "model", "succ": [1065, 1087, 1359, 1360]}, "1081": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "type": "model"}, "1082": {"name": "model.synthetix.core_deposited_arbitrum_sepolia", "type": "model", "succ": [1081, 1341, 1342]}, "1083": {"name": "model.synthetix.core_withdrawn_arbitrum_sepolia", "type": "model", "succ": [1081, 1343, 1344]}, "1084": {"name": "model.synthetix.fct_core_pools_arbitrum_sepolia", "type": "model"}, "1085": {"name": "model.synthetix.core_pool_created_arbitrum_sepolia", "type": "model", "succ": [1084, 1351, 1352]}, "1086": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "type": "model"}, "1087": {"name": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "type": "model"}, "1088": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "type": "model", "succ": [1087]}, "1089": {"name": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "type": "model", "succ": [1087]}, "1090": {"name": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "type": "model", "succ": [1089, 1371, 1372]}, "1091": {"name": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "type": "model", "succ": [1089, 1373, 1374]}, "1092": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "type": "model", "succ": [1088, 1375, 1376]}, "1093": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "type": "model", "succ": [1088, 1377, 1378]}, "1094": {"name": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "type": "model"}, "1095": {"name": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "type": "model", "succ": [1094, 1369, 1370]}, "1096": {"name": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "type": "model", "succ": [1105]}, "1097": {"name": "model.synthetix.fct_prices_arbitrum_mainnet", "type": "model", "succ": [1096]}, "1098": {"name": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "type": "model", "succ": [1097, 1104]}, "1099": {"name": "seed.synthetix.arbitrum_mainnet_tokens", "type": "seed", "succ": [1097, 1327, 1328]}, "1100": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "type": "model", "succ": [1104]}, "1101": {"name": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "type": "model", "succ": [1100]}, "1102": {"name": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "type": "model", "succ": [1100, 1104, 1105]}, "1103": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "type": "model", "succ": [1115]}, "1104": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "type": "model", "succ": [1103, 1117]}, "1105": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "type": "model", "succ": [1103, 1116]}, "1106": {"name": "model.synthetix.core_vault_debt_arbitrum_mainnet", "type": "model", "succ": [1102]}, "1107": {"name": "model.synthetix.fct_core_pools_arbitrum_mainnet", "type": "model"}, "1108": {"name": "model.synthetix.core_pool_created_arbitrum_mainnet", "type": "model", "succ": [1107, 1395, 1396]}, "1109": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "type": "model"}, "1110": {"name": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "type": "model", "succ": [1109, 1114, 1383, 1384]}, "1111": {"name": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "type": "model", "succ": [1105]}, "1112": {"name": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "type": "model", "succ": [1111, 1399, 1400]}, "1113": {"name": "seed.synthetix.arbitrum_mainnet_reward_distributors", "type": "seed", "succ": [1111, 1319, 1320]}, "1114": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "type": "model"}, "1115": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "type": "model"}, "1116": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "type": "model", "succ": [1104]}, "1117": {"name": "model.synthetix.fct_core_apr_arbitrum_mainnet", "type": "model"}, "1118": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "type": "model"}, "1119": {"name": "model.synthetix.core_deposited_arbitrum_mainnet", "type": "model", "succ": [1118, 1385, 1386]}, "1120": {"name": "model.synthetix.core_withdrawn_arbitrum_mainnet", "type": "model", "succ": [1118, 1387, 1388]}, "1121": {"name": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "type": "model"}, "1122": {"name": "model.synthetix.core_market_updated_arbitrum_mainnet", "type": "model", "succ": [1121, 1391, 1392]}, "1123": {"name": "model.synthetix.core_usd_burned_arbitrum_mainnet", "type": "model", "succ": [1101, 1125, 1401, 1402]}, "1124": {"name": "model.synthetix.core_usd_minted_arbitrum_mainnet", "type": "model", "succ": [1101, 1125, 1403, 1404]}, "1125": {"name": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "type": "model"}, "1126": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "type": "model", "succ": [1125]}, "1127": {"name": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "type": "model", "succ": [1125]}, "1128": {"name": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "type": "model", "succ": [1127, 1415, 1416]}, "1129": {"name": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "type": "model", "succ": [1127, 1417, 1418]}, "1130": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "type": "model", "succ": [1126, 1419, 1420]}, "1131": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "type": "model", "succ": [1126, 1421, 1422]}, "1132": {"name": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "type": "model"}, "1133": {"name": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "type": "model", "succ": [1132, 1413, 1414]}, "1134": {"name": "model.synthetix.fct_buyback_daily_base_sepolia", "type": "model"}, "1135": {"name": "model.synthetix.fct_buyback_base_sepolia", "type": "model", "succ": [1134, 1136, 1151]}, "1136": {"name": "model.synthetix.fct_buyback_hourly_base_sepolia", "type": "model"}, "1137": {"name": "model.synthetix.buyback_processed_base_sepolia", "type": "model", "succ": [1135]}, "1138": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "type": "model", "succ": [1141]}, "1139": {"name": "model.synthetix.fct_perp_trades_base_sepolia", "type": "model", "succ": [1138, 1145, 1148, 1146, 1143]}, "1140": {"name": "model.synthetix.fct_perp_liq_position_base_sepolia", "type": "model", "succ": [1138, 1143]}, "1141": {"name": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "type": "model"}, "1142": {"name": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "type": "model", "succ": [1150]}, "1143": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "type": "model", "succ": [1142, 1147]}, "1144": {"name": "model.synthetix.fct_perp_liq_account_base_sepolia", "type": "model", "succ": [1142]}, "1145": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "type": "model"}, "1146": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "type": "model", "succ": [1145]}, "1147": {"name": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "type": "model"}, "1148": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "type": "model", "succ": [1149]}, "1149": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "type": "model"}, "1150": {"name": "model.synthetix.fct_perp_stats_daily_base_sepolia", "type": "model"}, "1151": {"name": "model.synthetix.fct_prices_base_sepolia", "type": "model", "succ": [1155]}, "1152": {"name": "model.synthetix.fct_perp_market_history_base_sepolia", "type": "model", "succ": [1151]}, "1153": {"name": "model.synthetix.core_vault_collateral_base_sepolia", "type": "model", "succ": [1151, 1174]}, "1154": {"name": "seed.synthetix.base_sepolia_tokens", "type": "seed", "succ": [1151, 1333, 1334]}, "1155": {"name": "model.synthetix.fct_prices_hourly_base_sepolia", "type": "model", "succ": [1181]}, "1156": {"name": "model.synthetix.fct_perp_accounts_base_sepolia", "type": "model"}, "1157": {"name": "model.synthetix.perp_account_created_base_sepolia", "type": "model", "succ": [1156, 1425, 1426]}, "1158": {"name": "model.synthetix.perp_order_settled_base_sepolia", "type": "model", "succ": [1139, 1429, 1430]}, "1159": {"name": "model.synthetix.fct_perp_markets_base_sepolia", "type": "model", "succ": [1139, 1140, 1163, 1152]}, "1160": {"name": "model.synthetix.perp_position_liquidated_base_sepolia", "type": "model", "succ": [1140, 1433, 1434]}, "1161": {"name": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "type": "model"}, "1162": {"name": "model.synthetix.perp_collateral_modified_base_sepolia", "type": "model", "succ": [1161, 1437, 1438]}, "1163": {"name": "model.synthetix.fct_perp_orders_base_sepolia", "type": "model"}, "1164": {"name": "model.synthetix.perp_order_committed_base_sepolia", "type": "model", "succ": [1163, 1427, 1428]}, "1165": {"name": "model.synthetix.fct_perp_pnl_base_sepolia", "type": "model"}, "1166": {"name": "model.synthetix.core_vault_debt_base_sepolia", "type": "model", "succ": [1165, 1175]}, "1167": {"name": "model.synthetix.perp_market_updated_base_sepolia", "type": "model", "succ": [1152, 1431, 1432]}, "1168": {"name": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "type": "model", "succ": [1144, 1435, 1436]}, "1169": {"name": "model.synthetix.fct_perp_interest_charged_base_sepolia", "type": "model"}, "1170": {"name": "model.synthetix.perp_interest_charged_base_sepolia", "type": "model", "succ": [1169]}, "1171": {"name": "model.synthetix.perp_market_created_base_sepolia", "type": "model", "succ": [1159]}, "1172": {"name": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "type": "model"}, "1173": {"name": "model.synthetix.perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1172, 1439, 1440]}, "1174": {"name": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "type": "model", "succ": [1183, 1185]}, "1175": {"name": "model.synthetix.fct_pool_debt_base_sepolia", "type": "model", "succ": [1174, 1181, 1176]}, "1176": {"name": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "type": "model", "succ": [1174]}, "1177": {"name": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "type": "model", "succ": [1174]}, "1178": {"name": "model.synthetix.fct_pool_issuance_base_sepolia", "type": "model", "succ": [1176]}, "1179": {"name": "model.synthetix.core_usd_burned_base_sepolia", "type": "model", "succ": [1178, 1206, 1461, 1462]}, "1180": {"name": "model.synthetix.core_usd_minted_base_sepolia", "type": "model", "succ": [1178, 1206, 1463, 1464]}, "1181": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "type": "model", "succ": [1177, 1185]}, "1182": {"name": "model.synthetix.fct_pool_rewards_base_sepolia", "type": "model", "succ": [1181]}, "1183": {"name": "model.synthetix.fct_core_apr_base_sepolia", "type": "model"}, "1184": {"name": "model.synthetix.fct_core_apr_rewards_base_sepolia", "type": "model"}, "1185": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "type": "model", "succ": [1184]}, "1186": {"name": "model.synthetix.fct_core_pool_delegation_base_sepolia", "type": "model"}, "1187": {"name": "model.synthetix.core_delegation_updated_base_sepolia", "type": "model", "succ": [1186, 1188, 1443, 1444]}, "1188": {"name": "model.synthetix.fct_core_account_delegation_base_sepolia", "type": "model"}, "1189": {"name": "model.synthetix.fct_core_market_updated_base_sepolia", "type": "model"}, "1190": {"name": "model.synthetix.core_market_updated_base_sepolia", "type": "model", "succ": [1189, 1451, 1452]}, "1191": {"name": "model.synthetix.fct_core_pool_collateral_base_sepolia", "type": "model"}, "1192": {"name": "model.synthetix.core_deposited_base_sepolia", "type": "model", "succ": [1191, 1445, 1446]}, "1193": {"name": "model.synthetix.core_withdrawn_base_sepolia", "type": "model", "succ": [1191, 1447, 1448]}, "1194": {"name": "model.synthetix.fct_core_pools_base_sepolia", "type": "model"}, "1195": {"name": "model.synthetix.core_pool_created_base_sepolia", "type": "model", "succ": [1194, 1455, 1456]}, "1196": {"name": "model.synthetix.core_rewards_distributed_base_sepolia", "type": "model", "succ": [1182, 1459, 1460]}, "1197": {"name": "seed.synthetix.base_sepolia_reward_distributors", "type": "seed", "succ": [1182, 1325, 1326]}, "1198": {"name": "model.synthetix.fct_spot_wrapper_base_sepolia", "type": "model", "succ": [1206]}, "1199": {"name": "model.synthetix.spot_synth_wrapped_base_sepolia", "type": "model", "succ": [1198, 1479, 1480]}, "1200": {"name": "model.synthetix.spot_synth_unwrapped_base_sepolia", "type": "model", "succ": [1198, 1481, 1482]}, "1201": {"name": "model.synthetix.fct_spot_markets_base_sepolia", "type": "model"}, "1202": {"name": "model.synthetix.spot_synth_registered_base_sepolia", "type": "model", "succ": [1201, 1473, 1474]}, "1203": {"name": "model.synthetix.fct_spot_atomics_base_sepolia", "type": "model", "succ": [1206]}, "1204": {"name": "model.synthetix.spot_synth_bought_base_sepolia", "type": "model", "succ": [1203, 1475, 1476]}, "1205": {"name": "model.synthetix.spot_synth_sold_base_sepolia", "type": "model", "succ": [1203, 1477, 1478]}, "1206": {"name": "model.synthetix.fct_synth_supply_base_sepolia", "type": "model"}, "1207": {"name": "model.synthetix.fct_buyback_hourly_base_mainnet", "type": "model"}, "1208": {"name": "model.synthetix.fct_buyback_base_mainnet", "type": "model", "succ": [1207, 1210, 1225]}, "1209": {"name": "model.synthetix.buyback_processed_base_mainnet", "type": "model", "succ": [1208]}, "1210": {"name": "model.synthetix.fct_buyback_daily_base_mainnet", "type": "model"}, "1211": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "type": "model", "succ": [1214, 1219]}, "1212": {"name": "model.synthetix.fct_perp_trades_base_mainnet", "type": "model", "succ": [1211, 1215, 1217, 1216, 1221]}, "1213": {"name": "model.synthetix.fct_perp_liq_position_base_mainnet", "type": "model", "succ": [1211, 1217]}, "1214": {"name": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "type": "model"}, "1215": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "type": "model"}, "1216": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "type": "model", "succ": [1215]}, "1217": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "type": "model", "succ": [1222]}, "1218": {"name": "model.synthetix.fct_perp_stats_daily_base_mainnet", "type": "model"}, "1219": {"name": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "type": "model", "succ": [1218]}, "1220": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "type": "model"}, "1221": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "type": "model", "succ": [1220]}, "1222": {"name": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "type": "model"}, "1223": {"name": "model.synthetix.fct_perp_liq_account_base_mainnet", "type": "model", "succ": [1219]}, "1224": {"name": "model.synthetix.fct_prices_hourly_base_mainnet", "type": "model", "succ": [1250]}, "1225": {"name": "model.synthetix.fct_prices_base_mainnet", "type": "model", "succ": [1224]}, "1226": {"name": "model.synthetix.fct_perp_market_history_base_mainnet", "type": "model", "succ": [1225]}, "1227": {"name": "model.synthetix.core_vault_collateral_base_mainnet", "type": "model", "succ": [1225, 1247, 1253]}, "1228": {"name": "seed.synthetix.base_mainnet_tokens", "type": "seed", "succ": [1225, 1331, 1332]}, "1229": {"name": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "type": "model"}, "1230": {"name": "model.synthetix.perp_previous_order_expired_base_mainnet", "type": "model", "succ": [1229, 1499, 1500]}, "1231": {"name": "model.synthetix.perp_position_liquidated_base_mainnet", "type": "model", "succ": [1213, 1493, 1494]}, "1232": {"name": "model.synthetix.fct_perp_markets_base_mainnet", "type": "model", "succ": [1213, 1212, 1226, 1243]}, "1233": {"name": "model.synthetix.perp_order_settled_base_mainnet", "type": "model", "succ": [1212, 1489, 1490]}, "1234": {"name": "model.synthetix.perp_market_created_base_mainnet", "type": "model", "succ": [1232]}, "1235": {"name": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "type": "model"}, "1236": {"name": "model.synthetix.perp_collateral_modified_base_mainnet", "type": "model", "succ": [1235, 1497, 1498]}, "1237": {"name": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "type": "model", "succ": [1223, 1495, 1496]}, "1238": {"name": "model.synthetix.fct_perp_interest_charged_base_mainnet", "type": "model"}, "1239": {"name": "model.synthetix.perp_interest_charged_base_mainnet", "type": "model", "succ": [1238]}, "1240": {"name": "model.synthetix.perp_market_updated_base_mainnet", "type": "model", "succ": [1226, 1491, 1492]}, "1241": {"name": "model.synthetix.fct_perp_accounts_base_mainnet", "type": "model"}, "1242": {"name": "model.synthetix.perp_account_created_base_mainnet", "type": "model", "succ": [1241, 1485, 1486]}, "1243": {"name": "model.synthetix.fct_perp_orders_base_mainnet", "type": "model"}, "1244": {"name": "model.synthetix.perp_order_committed_base_mainnet", "type": "model", "succ": [1243, 1487, 1488]}, "1245": {"name": "model.synthetix.fct_perp_pnl_base_mainnet", "type": "model"}, "1246": {"name": "model.synthetix.core_vault_debt_base_mainnet", "type": "model", "succ": [1245, 1251]}, "1247": {"name": "model.synthetix.fct_core_vault_collateral_base_mainnet", "type": "model"}, "1248": {"name": "model.synthetix.fct_core_apr_rewards_base_mainnet", "type": "model"}, "1249": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "type": "model", "succ": [1248]}, "1250": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "type": "model", "succ": [1249, 1255]}, "1251": {"name": "model.synthetix.fct_pool_debt_base_mainnet", "type": "model", "succ": [1250, 1253, 1254]}, "1252": {"name": "model.synthetix.fct_pool_rewards_base_mainnet", "type": "model", "succ": [1250]}, "1253": {"name": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "type": "model", "succ": [1249, 1257]}, "1254": {"name": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "type": "model", "succ": [1253]}, "1255": {"name": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "type": "model", "succ": [1253]}, "1256": {"name": "model.synthetix.fct_pool_issuance_base_mainnet", "type": "model", "succ": [1254]}, "1257": {"name": "model.synthetix.fct_core_apr_base_mainnet", "type": "model"}, "1258": {"name": "model.synthetix.fct_core_pool_collateral_base_mainnet", "type": "model"}, "1259": {"name": "model.synthetix.core_deposited_base_mainnet", "type": "model", "succ": [1258, 1505, 1506]}, "1260": {"name": "model.synthetix.core_withdrawn_base_mainnet", "type": "model", "succ": [1258, 1507, 1508]}, "1261": {"name": "model.synthetix.fct_core_pool_delegation_base_mainnet", "type": "model"}, "1262": {"name": "model.synthetix.core_delegation_updated_base_mainnet", "type": "model", "succ": [1261, 1265, 1503, 1504]}, "1263": {"name": "model.synthetix.core_usd_burned_base_mainnet", "type": "model", "succ": [1256, 1272, 1521, 1522]}, "1264": {"name": "model.synthetix.core_usd_minted_base_mainnet", "type": "model", "succ": [1256, 1272, 1523, 1524]}, "1265": {"name": "model.synthetix.fct_core_account_delegation_base_mainnet", "type": "model"}, "1266": {"name": "model.synthetix.core_rewards_distributed_base_mainnet", "type": "model", "succ": [1252, 1519, 1520]}, "1267": {"name": "seed.synthetix.base_mainnet_reward_distributors", "type": "seed", "succ": [1252, 1323, 1324]}, "1268": {"name": "model.synthetix.fct_core_pools_base_mainnet", "type": "model"}, "1269": {"name": "model.synthetix.core_pool_created_base_mainnet", "type": "model", "succ": [1268, 1515, 1516]}, "1270": {"name": "model.synthetix.fct_core_market_updated_base_mainnet", "type": "model"}, "1271": {"name": "model.synthetix.core_market_updated_base_mainnet", "type": "model", "succ": [1270, 1511, 1512]}, "1272": {"name": "model.synthetix.fct_synth_supply_base_mainnet", "type": "model"}, "1273": {"name": "model.synthetix.fct_spot_wrapper_base_mainnet", "type": "model", "succ": [1272]}, "1274": {"name": "model.synthetix.fct_spot_atomics_base_mainnet", "type": "model", "succ": [1272]}, "1275": {"name": "model.synthetix.spot_synth_wrapped_base_mainnet", "type": "model", "succ": [1273, 1539, 1540]}, "1276": {"name": "model.synthetix.spot_synth_unwrapped_base_mainnet", "type": "model", "succ": [1273, 1541, 1542]}, "1277": {"name": "model.synthetix.fct_spot_markets_base_mainnet", "type": "model"}, "1278": {"name": "model.synthetix.spot_synth_registered_base_mainnet", "type": "model", "succ": [1277, 1533, 1534]}, "1279": {"name": "model.synthetix.spot_synth_bought_base_mainnet", "type": "model", "succ": [1274, 1535, 1536]}, "1280": {"name": "model.synthetix.spot_synth_sold_base_mainnet", "type": "model", "succ": [1274, 1537, 1538]}, "1281": {"name": "model.synthetix.blocks_arbitrum_sepolia", "type": "model", "succ": [1060, 1075, 1335, 1336]}, "1282": {"name": "model.synthetix.core_account_created_arbitrum_sepolia", "type": "model", "succ": [1337, 1338]}, "1283": {"name": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "type": "model", "succ": [1361, 1362]}, "1284": {"name": "model.synthetix.core_market_registered_arbitrum_sepolia", "type": "model", "succ": [1349, 1350]}, "1285": {"name": "model.synthetix.core_liquidation_arbitrum_sepolia", "type": "model", "succ": [1345, 1346]}, "1286": {"name": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "type": "model", "succ": [1353, 1354]}, "1287": {"name": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "type": "model", "succ": [1367, 1368]}, "1288": {"name": "model.synthetix.spot_order_settled_arbitrum_sepolia", "type": "model", "succ": [1365, 1366]}, "1289": {"name": "model.synthetix.spot_order_committed_arbitrum_sepolia", "type": "model", "succ": [1363, 1364]}, "1290": {"name": "model.synthetix.blocks_arbitrum_mainnet", "type": "model", "succ": [1106, 1098, 1379, 1380]}, "1291": {"name": "model.synthetix.core_market_registered_arbitrum_mainnet", "type": "model", "succ": [1393, 1394]}, "1292": {"name": "model.synthetix.core_account_created_arbitrum_mainnet", "type": "model", "succ": [1381, 1382]}, "1293": {"name": "model.synthetix.core_liquidation_arbitrum_mainnet", "type": "model", "succ": [1389, 1390]}, "1294": {"name": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "type": "model", "succ": [1397, 1398]}, "1295": {"name": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "type": "model", "succ": [1405, 1406]}, "1296": {"name": "model.synthetix.spot_order_settled_arbitrum_mainnet", "type": "model", "succ": [1409, 1410]}, "1297": {"name": "model.synthetix.spot_order_committed_arbitrum_mainnet", "type": "model", "succ": [1407, 1408]}, "1298": {"name": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "type": "model", "succ": [1411, 1412]}, "1299": {"name": "model.synthetix.blocks_base_sepolia", "type": "model", "succ": [1166, 1153, 1423, 1424]}, "1300": {"name": "model.synthetix.perp_interest_rate_updated_base_sepolia", "type": "model"}, "1301": {"name": "model.synthetix.core_account_created_base_sepolia", "type": "model", "succ": [1441, 1442]}, "1302": {"name": "model.synthetix.core_rewards_claimed_base_sepolia", "type": "model", "succ": [1457, 1458]}, "1303": {"name": "model.synthetix.core_liquidation_base_sepolia", "type": "model", "succ": [1449, 1450]}, "1304": {"name": "model.synthetix.core_market_registered_base_sepolia", "type": "model", "succ": [1453, 1454]}, "1305": {"name": "model.synthetix.core_vault_liquidation_base_sepolia", "type": "model", "succ": [1465, 1466]}, "1306": {"name": "model.synthetix.spot_order_cancelled_base_sepolia", "type": "model", "succ": [1471, 1472]}, "1307": {"name": "model.synthetix.spot_order_committed_base_sepolia", "type": "model", "succ": [1467, 1468]}, "1308": {"name": "model.synthetix.spot_order_settled_base_sepolia", "type": "model", "succ": [1469, 1470]}, "1309": {"name": "model.synthetix.blocks_base_mainnet", "type": "model", "succ": [1227, 1246, 1483, 1484]}, "1310": {"name": "model.synthetix.perp_interest_rate_updated_base_mainnet", "type": "model"}, "1311": {"name": "model.synthetix.core_market_registered_base_mainnet", "type": "model", "succ": [1513, 1514]}, "1312": {"name": "model.synthetix.core_vault_liquidation_base_mainnet", "type": "model", "succ": [1525, 1526]}, "1313": {"name": "model.synthetix.core_rewards_claimed_base_mainnet", "type": "model", "succ": [1517, 1518]}, "1314": {"name": "model.synthetix.core_liquidation_base_mainnet", "type": "model", "succ": [1509, 1510]}, "1315": {"name": "model.synthetix.core_account_created_base_mainnet", "type": "model", "succ": [1501, 1502]}, "1316": {"name": "model.synthetix.spot_order_settled_base_mainnet", "type": "model", "succ": [1529, 1530]}, "1317": {"name": "model.synthetix.spot_order_committed_base_mainnet", "type": "model", "succ": [1527, 1528]}, "1318": {"name": "model.synthetix.spot_order_cancelled_base_mainnet", "type": "model", "succ": [1531, 1532]}, "1319": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "type": "test"}, "1320": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "type": "test"}, "1321": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "type": "test"}, "1322": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "type": "test"}, "1323": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "type": "test"}, "1324": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "type": "test"}, "1325": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "type": "test"}, "1326": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "type": "test"}, "1327": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "type": "test"}, "1328": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "type": "test"}, "1329": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "type": "test"}, "1330": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "type": "test"}, "1331": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "type": "test"}, "1332": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "type": "test"}, "1333": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "type": "test"}, "1334": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "type": "test"}, "1335": {"name": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "type": "test"}, "1336": {"name": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "type": "test"}, "1337": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "type": "test"}, "1338": {"name": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "type": "test"}, "1339": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "type": "test"}, "1340": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "type": "test"}, "1341": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "type": "test"}, "1342": {"name": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "type": "test"}, "1343": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "type": "test"}, "1344": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "type": "test"}, "1345": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "type": "test"}, "1346": {"name": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "type": "test"}, "1347": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "type": "test"}, "1348": {"name": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "type": "test"}, "1349": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "type": "test"}, "1350": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "type": "test"}, "1351": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "type": "test"}, "1352": {"name": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "type": "test"}, "1353": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "type": "test"}, "1354": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "type": "test"}, "1355": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "type": "test"}, "1356": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "type": "test"}, "1357": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "type": "test"}, "1358": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "type": "test"}, "1359": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "type": "test"}, "1360": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "type": "test"}, "1361": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "type": "test"}, "1362": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "type": "test"}, "1363": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "type": "test"}, "1364": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "type": "test"}, "1365": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "type": "test"}, "1366": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "type": "test"}, "1367": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "type": "test"}, "1368": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "type": "test"}, "1369": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "type": "test"}, "1370": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "type": "test"}, "1371": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "type": "test"}, "1372": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "type": "test"}, "1373": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "type": "test"}, "1374": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "type": "test"}, "1375": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "type": "test"}, "1376": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "type": "test"}, "1377": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "type": "test"}, "1378": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "type": "test"}, "1379": {"name": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "type": "test"}, "1380": {"name": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "type": "test"}, "1381": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "type": "test"}, "1382": {"name": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "type": "test"}, "1383": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "type": "test"}, "1384": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "type": "test"}, "1385": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "type": "test"}, "1386": {"name": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "type": "test"}, "1387": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "type": "test"}, "1388": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "type": "test"}, "1389": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "type": "test"}, "1390": {"name": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "type": "test"}, "1391": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "type": "test"}, "1392": {"name": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "type": "test"}, "1393": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "type": "test"}, "1394": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "type": "test"}, "1395": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "type": "test"}, "1396": {"name": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "type": "test"}, "1397": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "type": "test"}, "1398": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "type": "test"}, "1399": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "type": "test"}, "1400": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "type": "test"}, "1401": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "type": "test"}, "1402": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "type": "test"}, "1403": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "type": "test"}, "1404": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "type": "test"}, "1405": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "type": "test"}, "1406": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "type": "test"}, "1407": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "type": "test"}, "1408": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "type": "test"}, "1409": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "type": "test"}, "1410": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "type": "test"}, "1411": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "type": "test"}, "1412": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "type": "test"}, "1413": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "type": "test"}, "1414": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "type": "test"}, "1415": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "type": "test"}, "1416": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "type": "test"}, "1417": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "type": "test"}, "1418": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "type": "test"}, "1419": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "type": "test"}, "1420": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "type": "test"}, "1421": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "type": "test"}, "1422": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "type": "test"}, "1423": {"name": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "type": "test"}, "1424": {"name": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "type": "test"}, "1425": {"name": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "type": "test"}, "1426": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "type": "test"}, "1427": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "type": "test"}, "1428": {"name": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "type": "test"}, "1429": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "type": "test"}, "1430": {"name": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "type": "test"}, "1431": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "type": "test"}, "1432": {"name": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "type": "test"}, "1433": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "type": "test"}, "1434": {"name": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "type": "test"}, "1435": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "type": "test"}, "1436": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "type": "test"}, "1437": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "type": "test"}, "1438": {"name": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "type": "test"}, "1439": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "type": "test"}, "1440": {"name": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "type": "test"}, "1441": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "type": "test"}, "1442": {"name": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "type": "test"}, "1443": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "type": "test"}, "1444": {"name": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "type": "test"}, "1445": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "type": "test"}, "1446": {"name": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "type": "test"}, "1447": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "type": "test"}, "1448": {"name": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "type": "test"}, "1449": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "type": "test"}, "1450": {"name": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "type": "test"}, "1451": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "type": "test"}, "1452": {"name": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "type": "test"}, "1453": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "type": "test"}, "1454": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "type": "test"}, "1455": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "type": "test"}, "1456": {"name": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "type": "test"}, "1457": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "type": "test"}, "1458": {"name": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "type": "test"}, "1459": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "type": "test"}, "1460": {"name": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "type": "test"}, "1461": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "type": "test"}, "1462": {"name": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "type": "test"}, "1463": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "type": "test"}, "1464": {"name": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "type": "test"}, "1465": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "type": "test"}, "1466": {"name": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "type": "test"}, "1467": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "type": "test"}, "1468": {"name": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "type": "test"}, "1469": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "type": "test"}, "1470": {"name": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "type": "test"}, "1471": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "type": "test"}, "1472": {"name": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "type": "test"}, "1473": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "type": "test"}, "1474": {"name": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "type": "test"}, "1475": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "type": "test"}, "1476": {"name": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "type": "test"}, "1477": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "type": "test"}, "1478": {"name": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "type": "test"}, "1479": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "type": "test"}, "1480": {"name": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "type": "test"}, "1481": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "type": "test"}, "1482": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "type": "test"}, "1483": {"name": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "type": "test"}, "1484": {"name": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "type": "test"}, "1485": {"name": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "type": "test"}, "1486": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "type": "test"}, "1487": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "type": "test"}, "1488": {"name": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "type": "test"}, "1489": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "type": "test"}, "1490": {"name": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "type": "test"}, "1491": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "type": "test"}, "1492": {"name": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "type": "test"}, "1493": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "type": "test"}, "1494": {"name": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "type": "test"}, "1495": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "type": "test"}, "1496": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "type": "test"}, "1497": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "type": "test"}, "1498": {"name": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "type": "test"}, "1499": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "type": "test"}, "1500": {"name": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "type": "test"}, "1501": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "type": "test"}, "1502": {"name": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "type": "test"}, "1503": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "type": "test"}, "1504": {"name": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "type": "test"}, "1505": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "type": "test"}, "1506": {"name": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "type": "test"}, "1507": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "type": "test"}, "1508": {"name": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "type": "test"}, "1509": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "type": "test"}, "1510": {"name": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "type": "test"}, "1511": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "type": "test"}, "1512": {"name": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "type": "test"}, "1513": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "type": "test"}, "1514": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "type": "test"}, "1515": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "type": "test"}, "1516": {"name": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "type": "test"}, "1517": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "type": "test"}, "1518": {"name": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "type": "test"}, "1519": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "type": "test"}, "1520": {"name": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "type": "test"}, "1521": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "type": "test"}, "1522": {"name": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "type": "test"}, "1523": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "type": "test"}, "1524": {"name": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "type": "test"}, "1525": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "type": "test"}, "1526": {"name": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "type": "test"}, "1527": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "type": "test"}, "1528": {"name": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "type": "test"}, "1529": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "type": "test"}, "1530": {"name": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "type": "test"}, "1531": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "type": "test"}, "1532": {"name": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "type": "test"}, "1533": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "type": "test"}, "1534": {"name": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "type": "test"}, "1535": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "type": "test"}, "1536": {"name": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "type": "test"}, "1537": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "type": "test"}, "1538": {"name": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "type": "test"}, "1539": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "type": "test"}, "1540": {"name": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "type": "test"}, "1541": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "type": "test"}, "1542": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "type": "test"}}} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..c580ce91 --- /dev/null +++ b/index.html @@ -0,0 +1,75 @@ +dbt Docs
icons
diff --git a/manifest.json b/manifest.json new file mode 100644 index 00000000..24ba9884 --- /dev/null +++ b/manifest.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v12.json", "dbt_version": "1.8.3", "generated_at": "2024-07-18T20:38:46.499039Z", "invocation_id": "c4d9800a-0748-42c4-9bde-765aa21c4ba9", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "e3fd23e5-8a76-4cbe-85cc-62331aec95f4", "send_anonymous_usage_stats": true, "adapter_type": "postgres"}, "nodes": {"model.synthetix.fct_prices_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "fct_prices_hourly_arbitrum_sepolia"], "alias": "fct_prices_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "5d368ed482714bf3d503dd06c599dcbda79b4a88ff15df666f961abd7cb57997"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.867501, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_arbitrum_sepolia') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_prices_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "fct_prices_arbitrum_sepolia"], "alias": "fct_prices_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "05ba3a72a33d20d03e031807ed4664cf24e388e2018c19ad4d36edc41ec3e450"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8664348, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_arbitrum_sepolia') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('arbitrum_sepolia_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_apr_arbitrum_sepolia"], "alias": "fct_core_apr_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a7726ed770f279078c242915db742c028ebb9ae25e2f9b2024841cd22849824f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8835275, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_issuance_hourly_arbitrum_sepolia"], "alias": "fct_pool_issuance_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a38aa0c5e626d16ca03af6e1b456d128d5e2e02dd82b58e7f6500d3508497f6e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8919187, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_apr_rewards_arbitrum_sepolia"], "alias": "fct_core_apr_rewards_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "82845459b85cdb6438c64147c044f812e7ad8151b7ebe9b10d300cf046bf14a2"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335127.863462, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_rewards_arbitrum_sepolia\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_market_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_market_updated_arbitrum_sepolia"], "alias": "fct_core_market_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "6f6277675b01308cf227f7d9e8d6f4611d6e47a1741bb45bcd67177f611c868b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8866751, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_arbitrum_sepolia') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_arbitrum_sepolia"], "alias": "fct_pool_rewards_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d22e80459fcc6bdbb51c6cd6ea42fcc6fb0cfbf08abc11bb00c016affad615aa"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.871148, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_arbitrum_sepolia') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('arbitrum_sepolia_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}, {"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "010e2163c0154084b988908861ba1a84e44b478180ae143cb1b6208a6dfa9031"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1721335127.8908997, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_token_hourly_arbitrum_sepolia"], "alias": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "1a6650829ae82bc519444da947015faf941cb0ebc9eace16b1070818a8697c78"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8965409, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_debt_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_debt_arbitrum_sepolia"], "alias": "fct_pool_debt_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ad01ef7eae29be10c554289cff67586c16717fe7b22faea73bfbe0cb612da632"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8912182, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_arbitrum_sepolia') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_delegation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pool_delegation_arbitrum_sepolia"], "alias": "fct_core_pool_delegation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "4286f465d360eae19d11cdd8c75ebf00b3f7ca21b88478c56ea5414c77ccb966"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8884885, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_pnl_hourly_arbitrum_sepolia"], "alias": "fct_pool_pnl_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "cc173a633fcdf29c0b9c5fef6cfa5af058066e006df3feade5cfc130e8a48c1b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1721335129.894257, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_arbitrum_sepolia') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_arbitrum_sepolia') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_arbitrum_sepolia') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_issuance_arbitrum_sepolia"], "alias": "fct_pool_issuance_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "d5b067a6f79eda47c81ae2933344666717348fb85a85b066de588d3381fb68e8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8927686, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_arbitrum_sepolia') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_arbitrum_sepolia') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_collateral_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pool_collateral_arbitrum_sepolia"], "alias": "fct_core_pool_collateral_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "23661af393324d8769ceb50b42a2f5d19c8208261de02c1d13c5b99a680343cf"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8876536, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_arbitrum_sepolia') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_hourly_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_rewards_hourly_arbitrum_sepolia"], "alias": "fct_pool_rewards_hourly_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "923ad3771bfe9140211d178365e8885e635192a27ae70da4f5474fd0b9bbbbff"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8949597, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pools_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_pools_arbitrum_sepolia"], "alias": "fct_core_pools_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "8ede9664df3ccdce37f37a5928e36511ecbc4a2ef17e59370d563e99bd8f30ff"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8901563, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_delegation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_account_delegation_arbitrum_sepolia"], "alias": "fct_core_account_delegation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9fc0e026d0582c2f917ab05fea5f8266f6c0feef1c3aa7e05615c7188c7c62f8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8727398, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_synth_supply_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_synth_supply_arbitrum_sepolia"], "alias": "fct_synth_supply_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "759f5c9e5be3245da3739334ca3c2e43ffa12830762b1bc181ef25489f0702a0"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8982632, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_arbitrum_sepolia') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_arbitrum_sepolia') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia", "model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_atomics_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_atomics_arbitrum_sepolia"], "alias": "fct_spot_atomics_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e8b0471ab412cb933f0f61358e03ebc8a4029af64ff830f5fa40c585b329077b"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.8997695, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_arbitrum_sepolia') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_arbitrum_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}, {"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia", "model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_wrapper_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_wrapper_arbitrum_sepolia"], "alias": "fct_spot_wrapper_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "08e463eac2d37443769caf45620152644a0c6e16d0c9a4742532e96c4f66f7fd"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.9015768, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_arbitrum_sepolia') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_arbitrum_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}, {"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_markets_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "fct_spot_markets_arbitrum_sepolia"], "alias": "fct_spot_markets_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "6d9b79ec12699fb8a1cb1cadd74d6ee9fc501edc159ad367cd94712463fc0b7f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia"}, "created_at": 1721335129.9004476, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_arbitrum_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "fct_prices_hourly_arbitrum_mainnet"], "alias": "fct_prices_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "adb0fdc350dd9dd1b013d6bece743c0f4c2d57dcee0e52c22ab5e54cfac468ad"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9031894, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_arbitrum_mainnet') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "fct_prices_arbitrum_mainnet"], "alias": "fct_prices_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f10689980ba2e4b282846404a5ae8e8a131ea8f99acc3998c08536287f075901"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9025447, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_arbitrum_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('arbitrum_mainnet_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_issuance_hourly_arbitrum_mainnet"], "alias": "fct_pool_issuance_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "288aa95e4e7eb69bff52aa56235996f30c0e292de443b13317bcc081f978e011"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.911893, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "308685dec1689bf1010c127456ffead34bc4a928228c49969a0dccb211c8feef"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1721335127.9645295, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_debt_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_debt_arbitrum_mainnet"], "alias": "fct_pool_debt_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "ae9093f33f02afca816e46808fc25fe687c190d621a4272a7231dbc530b7064e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9112136, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_arbitrum_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pools_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pools_arbitrum_mainnet"], "alias": "fct_core_pools_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "ed74205add6861ef5ea5768b7f3057d7883f744fd6e5f8e869167bb9566150c7"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9104826, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_delegation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pool_delegation_arbitrum_mainnet"], "alias": "fct_core_pool_delegation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "334918fb7bdba838ae8c29f4885400f053dd310c57b3e8a0baa014d624a9d29d"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9097438, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_arbitrum_mainnet"], "alias": "fct_pool_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0ec34eeda76ad3af9c12e851088de58e6789bcc35a1e2055a92b5e0232aa3616"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9044669, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_arbitrum_mainnet') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('arbitrum_mainnet_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}, {"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_delegation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_account_delegation_arbitrum_mainnet"], "alias": "fct_core_account_delegation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "9c142accacc8f05fbac50a96ff1f4c91f5c818b220c5ba75cb75627a30423476"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9052408, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_apr_rewards_arbitrum_mainnet"], "alias": "fct_core_apr_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "3b8b4d82c4e066a00a652e542fd25f7cf2e0b4223340219abc3e777e79bf6a69"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335127.9917414, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_rewards_arbitrum_mainnet\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_pnl_hourly_arbitrum_mainnet"], "alias": "fct_pool_pnl_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "adc486f21275c7a48949bd13a492350291000e6183bf4220834acb20c9253138"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1721335129.9150057, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_arbitrum_mainnet') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_arbitrum_mainnet') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_arbitrum_mainnet') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_apr_arbitrum_mainnet"], "alias": "fct_core_apr_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a848d1d2f43ba5c6faa15264a4227e49cc01b7cc7b1625a82ff79ce4bb258792"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.907177, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_collateral_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_pool_collateral_arbitrum_mainnet"], "alias": "fct_core_pool_collateral_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d795de301811be713903326c73c5ec24d50f5cd38d592b80ed5eaa7993cef9b8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9088495, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_arbitrum_mainnet') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet", "model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_hourly_arbitrum_mainnet"], "alias": "fct_pool_rewards_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "acd73fc35d91aae158314a864e15ea9aa49c59bc53ddafd12327298bef7a1c3f"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9157028, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_market_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_market_updated_arbitrum_mainnet"], "alias": "fct_core_market_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2c142c2887f6bd3b6a5554bd166fd8eef39cdc997f07cbbcee60ec30e456aadb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.90819, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_arbitrum_mainnet') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_token_hourly_arbitrum_mainnet"], "alias": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "5c542a3febc40f8925dd3711305f4fac38d148b7a1d822e6e1b2a0b518c6dc8e"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9166331, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_issuance_arbitrum_mainnet"], "alias": "fct_pool_issuance_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "2869bf3ee5c586fa564d83b67a0d0960f055ae4e2b1130234f7d8ff6cf9b51c2"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9127448, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_arbitrum_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_arbitrum_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_synth_supply_arbitrum_mainnet"], "alias": "fct_synth_supply_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "fe4cf1228504d20713bddaf239a0abdd2d9a7e47bc95bec6585386c9d54224ec"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9176078, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_arbitrum_mainnet') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_mainnet') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_arbitrum_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_arbitrum_mainnet') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}, {"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet", "model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_atomics_arbitrum_mainnet"], "alias": "fct_spot_atomics_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "77caa18adb2b1b5aee94d3c5dcc557b27eed3ce4daa9c2339d9864ed80d8afdb"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9184833, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_arbitrum_mainnet') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_arbitrum_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}, {"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet", "model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_wrapper_arbitrum_mainnet"], "alias": "fct_spot_wrapper_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "4f28a1af88b246f23a9cc5d953fb861fecc803b23ca991a53562786a8eeaf6c7"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9199388, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_arbitrum_mainnet') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_arbitrum_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}, {"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "fct_spot_markets_arbitrum_mainnet"], "alias": "fct_spot_markets_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f41d931380187d5db1163696818ea8a64961da2a65be021b391c50a1c63a06e1"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet"}, "created_at": 1721335129.9191692, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_arbitrum_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_daily_base_sepolia"], "alias": "fct_buyback_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "0a8af525c082fc1e55347cab84f7be974520c55faa82ea32fcf034cf9aa2db8c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.922135, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_hourly_base_sepolia"], "alias": "fct_buyback_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "423a2cd596fc571803ba313b96707b0d4324859e367b656edf217d4bc8b6108d"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9228752, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_base_sepolia"], "alias": "fct_buyback_base_sepolia", "checksum": {"name": "sha256", "checksum": "d08848357d64cb3d72cb74abbc1104906db115f2fa195a679be1ad64f414093a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9250207, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n {{ convert_wei('snx') }} AS snx,\n {{ convert_wei('usd') }} AS usd,\n ({{ convert_wei('usd') }}) / ({{ convert_wei('snx') }}) AS snx_price\nFROM\n {{ ref('buyback_processed_base_sepolia') }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_account_stats_hourly_base_sepolia"], "alias": "fct_perp_account_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "c1a7c66c0b4a1b1b5b40e486e3395c8507314d5671c713f2afcd0f3f7ae9ec78"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9435203, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_sepolia') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia", "model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_account_stats_daily_base_sepolia"], "alias": "fct_perp_account_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "640df851be3f67f57c110e74ad5f3354472e24621907a20bc96e108a802c092c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9444828, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_daily_base_sepolia\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_stats_hourly_base_sepolia"], "alias": "fct_perp_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "44765d1a36646971c1ee906684a3227d25a7764326ca2e80491fdcc74027678f"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.934191, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"", "raw_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n {{ ref('fct_perp_market_stats_hourly_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n {{ ref('fct_perp_liq_account_base_sepolia') }}\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_tracking_stats_daily_base_sepolia"], "alias": "fct_perp_tracking_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "f6f26ae99be8ac3185fc203f82739bce40d3d09776a9c03ee55b25fcaee5e3b4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.93124, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_daily_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_perp_tracking_stats_hourly_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_tracking_stats_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_market_stats_daily_base_sepolia"], "alias": "fct_perp_market_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "231d4a1f0c7decd0e73f23f4405a22729381a68a5c11ffa35b7ab2d9c94e37f2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9382193, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_daily_base_sepolia\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_market_stats_hourly_base_sepolia') }}\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_keeper_stats_hourly_base_sepolia"], "alias": "fct_perp_keeper_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "fa9c0b0142fc121ee8a88b547508ba3bfb51121a349532fa57e65ac49c39277c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9410965, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_tracking_stats_hourly_base_sepolia"], "alias": "fct_perp_tracking_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "d45eb17cfe125daca9c995baf75c0981545c9258cca87c0c2b208da8a44e40a0"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.929988, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_keeper_stats_daily_base_sepolia"], "alias": "fct_perp_keeper_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "38287ddaffc9974c910e24f5034ecaedbd748555f58f4a4c5ce3eff33b6adf01"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9419765, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_daily_base_sepolia\"", "raw_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n {{ ref('fct_perp_keeper_stats_hourly_base_sepolia') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_keeper_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_market_stats_hourly_base_sepolia"], "alias": "fct_perp_market_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "1e4170d41372234eca17b8ef3f8b6bfa86959a03539e820639e8901f8d3651c2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9370983, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_sepolia') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia", "model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_daily_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_stats_daily_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_stats_daily_base_sepolia"], "alias": "fct_perp_stats_daily_base_sepolia", "checksum": {"name": "sha256", "checksum": "9b1f27e572b62c7f5c433e29294994dad68024614d08621073306a6931ca2398"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9353414, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_daily_base_sepolia\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_stats_hourly_base_sepolia') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"\nGROUP BY\n 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_prices_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "unique_id": "model.synthetix.fct_prices_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "fct_prices_base_sepolia"], "alias": "fct_prices_base_sepolia", "checksum": {"name": "sha256", "checksum": "86b3684930dc837661107504e3a55d71c3c23e57b25c1e5d05eabf9d5b65cfc0"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9454458, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n {{ ref('fct_perp_market_history_base_sepolia') }}\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_base_sepolia') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('base_sepolia_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}, {"name": "fct_buyback_base_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia", "model.synthetix.fct_buyback_base_sepolia", "model.synthetix.core_vault_collateral_base_sepolia", "seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_prices_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "fct_prices_hourly_base_sepolia"], "alias": "fct_prices_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "17062f0a5183dc2efafb5862505f2ce6e59ec8090824ea5f335320c3b5fca9a2"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9460762, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_base_sepolia') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_accounts_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_accounts_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_accounts_base_sepolia"], "alias": "fct_perp_accounts_base_sepolia", "checksum": {"name": "sha256", "checksum": "0e83dad1ce3c914b619d1141216d02bf628795a8c2249942f2af83c7cbc6473e"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9693608, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n {{ ref('perp_account_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_trades_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_trades_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_trades_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_trades_base_sepolia"], "alias": "fct_perp_trades_base_sepolia", "checksum": {"name": "sha256", "checksum": "00e4e5f05993061e91cc06c375501f9b7ef0144711269e69db0e29af75e3834c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.956791, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n {{ convert_wei('fill_price') }} AS fill_price,\n {{ convert_wei('pnl') }} AS pnl,\n {{ convert_wei('accrued_funding') }} AS accrued_funding,\n {{ convert_wei('size_delta') }} AS trade_size,\n {{ convert_wei('new_size') }} AS position_size,\n {{ convert_wei('total_fees') }} AS total_fees,\n {{ convert_wei('referral_fees') }} AS referral_fees,\n {{ convert_wei('collected_fees') }} AS collected_fees,\n {{ convert_wei('settlement_reward') }} AS settlement_reward,\n {{ convert_hex('tracking_code') }} AS tracking_code,\n pos.settler\n FROM\n {{ ref('perp_order_settled_base_sepolia') }} AS pos\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }} AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_position_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_liq_position_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_liq_position_base_sepolia"], "alias": "fct_perp_liq_position_base_sepolia", "checksum": {"name": "sha256", "checksum": "a1ef2366640dde2a2a60376ae17762f0ae60b88f94bb1a12942bb54d2e679e7d"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9677367, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"", "raw_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n {{ convert_wei('amount_liquidated') }} AS amount_liquidated,\n {{ convert_wei('current_position_size') }} AS position_size\n FROM\n {{ ref('perp_position_liquidated_base_sepolia') }}\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n {{ ref('fct_perp_markets_base_sepolia') }}\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_collateral_modified_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_modified_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_collateral_modified_base_sepolia"], "alias": "fct_perp_collateral_modified_base_sepolia", "checksum": {"name": "sha256", "checksum": "9befb1c36442fe1e76e054161b16375c5ac78cf5105443db932dba3dd31a4898"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9496155, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n {{ convert_wei(\"amount_delta\") }} AS amount_delta\nFROM\n {{ ref(\"perp_collateral_modified_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_orders_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_orders_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_orders_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_orders_base_sepolia"], "alias": "fct_perp_orders_base_sepolia", "checksum": {"name": "sha256", "checksum": "8c5cad088de38830ecef3b81245a509f728eb965269b11085074051c9ceb2923"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9602833, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n {{ convert_wei('oc.size_delta') }} AS SIZE,\n {{ convert_wei('oc.acceptable_price') }} AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n {{ convert_hex('oc.tracking_code') }} AS tracking_code,\n oc.sender\n FROM\n {{ ref('perp_order_committed_base_sepolia') }}\n oc\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }} AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_pnl_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_pnl_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_pnl_base_sepolia"], "alias": "fct_perp_pnl_base_sepolia", "checksum": {"name": "sha256", "checksum": "852bf16bb062ff074e9820028aacd2ddf8b64c031831992794653d4964a693e4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9577672, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"", "raw_code": "{# DEPRECATED: deprecate this table in dashboards and remove #}\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n {{ ref('core_vault_debt_base_sepolia') }}\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_history_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_market_history_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_market_history_base_sepolia"], "alias": "fct_perp_market_history_base_sepolia", "checksum": {"name": "sha256", "checksum": "6100dac7ef27ee292dc62d38c77508f5278969bcef74282b0dcb0710095acc35"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9668064, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('size') }} AS SIZE,\n {{ convert_wei('size_delta') }} AS size_delta,\n {{ convert_wei('current_funding_rate') }} AS funding_rate,\n {{ convert_wei('current_funding_velocity') }} AS funding_velocity,\n {{ convert_wei('interest_rate') }} AS interest_rate,\n {{ convert_wei('current_funding_rate') }} * 365.25 AS funding_rate_apr,\n {{ convert_wei('current_funding_rate') }} * 365.25 + {{ convert_wei('interest_rate') }} AS long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25 + {{ convert_wei('interest_rate') }} AS short_rate_apr\n FROM\n {{ ref('perp_market_updated_base_sepolia') }}\n mu\n LEFT JOIN {{ ref('fct_perp_markets_base_sepolia') }}\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_account_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_liq_account_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_liq_account_base_sepolia"], "alias": "fct_perp_liq_account_base_sepolia", "checksum": {"name": "sha256", "checksum": "74bb51df4e39b127283f3b93c0bc62b4700a0c949d46b05c2ecd905a4f6bdad5"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.968705, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"", "raw_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n {{ ref('perp_account_liquidation_attempt_base_sepolia') }}\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM({{ convert_wei('reward') }}) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_interest_charged_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_interest_charged_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_interest_charged_base_sepolia"], "alias": "fct_perp_interest_charged_base_sepolia", "checksum": {"name": "sha256", "checksum": "b627ada7a68e9687f38a426a300822209efd8a38149f84b6c0a58bc48fb9f8bf"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.948017, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n {{ convert_wei(\"interest\") }} AS interest\nFROM\n {{ ref(\"perp_interest_charged_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_markets_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_markets_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_markets_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_markets_base_sepolia"], "alias": "fct_perp_markets_base_sepolia", "checksum": {"name": "sha256", "checksum": "ff1e100c602034fa5e42bc669846ad3f9f1fa29ef83f6916f341e6e3aa6e5150"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9614244, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n {{ ref('perp_market_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_previous_order_expired_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_previous_order_expired_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "fct_perp_previous_order_expired_base_sepolia"], "alias": "fct_perp_previous_order_expired_base_sepolia", "checksum": {"name": "sha256", "checksum": "5ee0f93cced2a51480bbd9cff6febe301e1336ccd30b665596d23349877b2469"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9517336, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n {{ convert_wei(\"acceptable_price\") }} AS acceptable_price,\n {{ convert_wei(\"size_delta\") }} AS size_delta\nFROM\n {{ ref(\"perp_previous_order_expired_base_sepolia\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_pnl_hourly_base_sepolia"], "alias": "fct_pool_pnl_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "75138d60b80e54ac8186fe2ae0f41e1dfadef5d85705e9799446dfe1fd06cd76"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1721335129.979849, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_base_sepolia') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_base_sepolia') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_base_sepolia') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_issuance_base_sepolia"], "alias": "fct_pool_issuance_base_sepolia", "checksum": {"name": "sha256", "checksum": "7b8c13072f9bcd4016b21c2d9d25364ae6b843d543bc556f48d270cd756ec314"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.978813, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_base_sepolia') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_base_sepolia') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_token_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_token_hourly_base_sepolia"], "alias": "fct_pool_rewards_token_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "1858d644303fa7c2f73fa4d690e458341c52b58f7f1a178332d6025c96abd02f"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.981483, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_base_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_base_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_rewards_base_sepolia", "model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_apr_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_apr_base_sepolia"], "alias": "fct_core_apr_base_sepolia", "checksum": {"name": "sha256", "checksum": "503a9ea75da1fee3ea4d491cc211cd255a1cd0ca12b718f8d77750d144c9fad7"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9732153, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_hourly_base_sepolia"], "alias": "fct_pool_rewards_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "6775e891d850165d43e26b5374983ec7bfbb893e043ef008113666b53f3d48e4"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.98055, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_apr_rewards_base_sepolia"], "alias": "fct_core_apr_rewards_base_sepolia", "checksum": {"name": "sha256", "checksum": "1e498bd5ebc15636fb462fc4cec39901852d471901224a47a1ea8310f58818ce"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335128.1696002, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_rewards_base_sepolia\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pool_delegation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pool_delegation_base_sepolia"], "alias": "fct_core_pool_delegation_base_sepolia", "checksum": {"name": "sha256", "checksum": "8190acfa1abaebaf43a0af52f1b4688a9fed5db7f291ddf604482e4653091d23"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.975744, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_account_delegation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_account_delegation_base_sepolia"], "alias": "fct_core_account_delegation_base_sepolia", "checksum": {"name": "sha256", "checksum": "9ee1e84857e250e605c8df62388c8516cdf95251669df9e3379fcb77720c006a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.971333, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_market_updated_base_sepolia"], "alias": "fct_core_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "2255b64d243b167ee58d3195b5a7e2a0c676dc07292d7a821706eccca4573c09"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9743738, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_base_sepolia') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_issuance_hourly_base_sepolia"], "alias": "fct_pool_issuance_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "6c2ab81acc35c93d95b2075fc5e944ad0b75ea95fb2927bb0fb42fa3584e9f5a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.977896, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_base_sepolia') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pool_collateral_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pool_collateral_base_sepolia"], "alias": "fct_core_pool_collateral_base_sepolia", "checksum": {"name": "sha256", "checksum": "600c830622aab729a7a6588d2e26b55502e33413b401b4aac20c9cd0993eddfd"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9750507, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_base_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_base_sepolia') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_base_sepolia", "model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_pnl_hourly_reward_base_sepolia"], "alias": "fct_pool_pnl_hourly_reward_base_sepolia", "checksum": {"name": "sha256", "checksum": "04ab8d0819e3966f8bb0d534f6f89bc572f28ecf82afd93cff9037c15744aa2b"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1721335128.2002158, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_debt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_debt_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_debt_base_sepolia"], "alias": "fct_pool_debt_base_sepolia", "checksum": {"name": "sha256", "checksum": "5b3f19fafc35dd4ed8556b5c1664b2c2ffd1c5e1526380b0c4a7e41dfeab8b3e"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9771945, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_base_sepolia') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_pools_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_pools_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_pools_base_sepolia"], "alias": "fct_core_pools_base_sepolia", "checksum": {"name": "sha256", "checksum": "8f3ab24a680dd44c279269bfb40b41d8b986ace3daeeb3be8e099b25654b2455"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9764225, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_rewards_base_sepolia"], "alias": "fct_pool_rewards_base_sepolia", "checksum": {"name": "sha256", "checksum": "00c949b1fbc17ff21b8596749aee99da936fb9af48681af66f60eeebf5b51253"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9705944, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_base_sepolia') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('base_sepolia_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}, {"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia", "seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_wrapper_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_wrapper_base_sepolia"], "alias": "fct_spot_wrapper_base_sepolia", "checksum": {"name": "sha256", "checksum": "f8f0218986ec16e291f4dfc7af21944b4c9f55a3c737a2f65c1e33a0a75d7d70"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.984719, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_base_sepolia') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_base_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}, {"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia", "model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_markets_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_markets_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_markets_base_sepolia"], "alias": "fct_spot_markets_base_sepolia", "checksum": {"name": "sha256", "checksum": "260e08d14dd0b9df1b871c70894b6ade163d92c3658b2361f44570128661ba5b"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9839506, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_spot_atomics_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_spot_atomics_base_sepolia"], "alias": "fct_spot_atomics_base_sepolia", "checksum": {"name": "sha256", "checksum": "bcc99617a43a9e27772957624aec228d9bb5a080d0e1c188a1c80aa166c47402"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.9832711, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_base_sepolia') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_base_sepolia') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}, {"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia", "model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_synth_supply_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "unique_id": "model.synthetix.fct_synth_supply_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "fct_synth_supply_base_sepolia"], "alias": "fct_synth_supply_base_sepolia", "checksum": {"name": "sha256", "checksum": "b9f39b1adb9afbdf3ee9bd6048fdd17c88a5f85f41a067050e87a39b8c02df23"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1721335129.982405, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_base_sepolia') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_sepolia') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_sepolia') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_base_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_base_sepolia') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_base_sepolia", "package": null, "version": null}, {"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia", "model.synthetix.fct_spot_atomics_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia", "model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_hourly_base_mainnet"], "alias": "fct_buyback_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "99725b2600bc5836902af4236fe59da807d87ab078bd69b1d1fd3211c156ec12"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9863634, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_base_mainnet"], "alias": "fct_buyback_base_mainnet", "checksum": {"name": "sha256", "checksum": "0b566b9dabe1ef2bdd7590c50f5f48633118f1f41ce0a9c61534424909bbd51a"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9871259, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n {{ convert_wei('snx') }} AS snx,\n {{ convert_wei('usd') }} AS usd,\n ({{ convert_wei('usd') }}) / ({{ convert_wei('snx') }}) AS snx_price\nFROM\n {{ ref('buyback_processed_base_mainnet') }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "fct_buyback_daily_base_mainnet"], "alias": "fct_buyback_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "57d42ea7a0bdbb7cfe118534a777461089bf6063ce360f237d5ad4e8ac21bb96"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.985632, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_market_stats_hourly_base_mainnet"], "alias": "fct_perp_market_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "68197a710813bc0c6f900c9163a59be4ca6c1e73a37561725ee12ddda0284a2d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9931657, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_mainnet') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet", "model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_market_stats_daily_base_mainnet"], "alias": "fct_perp_market_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "d747ef6b93c6e1f627afdfc5107b754a9e60498de9fef855f59d683340036d2b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9943101, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_daily_base_mainnet\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_market_stats_hourly_base_mainnet') }}\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_tracking_stats_daily_base_mainnet"], "alias": "fct_perp_tracking_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "f983971801c65e4cf44f36e10840043d91af1bbf01d3c242d571333fc682d2fd"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9898756, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_daily_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_perp_tracking_stats_hourly_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_tracking_stats_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_account_stats_hourly_base_mainnet"], "alias": "fct_perp_account_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "7b9bbf304b29b4599d438803aec356365554283d3fa4fe88b73bfe1f8d5626e8"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9970706, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n {{ ref('fct_perp_liq_position_base_mainnet') }}\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet", "model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_tracking_stats_hourly_base_mainnet"], "alias": "fct_perp_tracking_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "b97dfeaab4f97866c866e471134a2b1ee40e57e14ef341cd84e64311af134ee9"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "accounts": {"name": "accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees_share": {"name": "referral_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees_share": {"name": "collected_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9887397, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_stats_daily_base_mainnet"], "alias": "fct_perp_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "a88df7a3f771dff636004b75258537f16f1752cb1e4a7caeadef53b0cb61693f"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9919677, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_daily_base_mainnet\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_stats_hourly_base_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_perp_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"\nGROUP BY\n 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_keeper_stats_daily_base_mainnet"], "alias": "fct_perp_keeper_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "8f81ea44b38a1fe5b6901fbd8eea33d9401afa0f79a2db0036eec73b8709135d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9960778, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_daily_base_mainnet\"", "raw_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n {{ ref('fct_perp_keeper_stats_hourly_base_mainnet') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_keeper_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_account_stats_daily_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_daily_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_account_stats_daily_base_mainnet"], "alias": "fct_perp_account_stats_daily_base_mainnet", "checksum": {"name": "sha256", "checksum": "406205d97bac036ca6bd9e8afd7dfe84d9e5169eaf6a5ebcd2c1d42c22629b6d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_fees": {"name": "cumulative_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9979563, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_daily_base_mainnet\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_stats_hourly_base_mainnet"], "alias": "fct_perp_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "491c796dbd16755b034c63bc980afb14c3c5928866e2389a5e98d219d5c6bed3"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9909246, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"", "raw_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n {{ ref('fct_perp_market_stats_hourly_base_mainnet') }}\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n {{ ref('fct_perp_liq_account_base_mainnet') }}\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp_stats", "fct_perp_keeper_stats_hourly_base_mainnet"], "alias": "fct_perp_keeper_stats_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "8467e6a61252f5311c9647fe4e55041735bc101db0784e474bb083a2c8e5580d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9952013, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "fct_prices_hourly_base_mainnet"], "alias": "fct_prices_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "bb1064000f7ffaa38880462c9b6dd3e3df58a19d8727e2e8805f50d2fe0ca828"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9996798, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"", "raw_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n {{ ref('fct_prices_base_mainnet') }}\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_prices_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_prices_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "unique_id": "model.synthetix.fct_prices_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "fct_prices_base_mainnet"], "alias": "fct_prices_base_mainnet", "checksum": {"name": "sha256", "checksum": "d9cf1baf09f214e1af8bd82ab74481432786d54ce1350cf3a2e2ca0d41e551ea"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335129.9989507, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"", "raw_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n {{ ref('fct_perp_market_history_base_mainnet') }}\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n {{ ref('core_vault_collateral_base_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('base_mainnet_tokens') }}\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}, {"name": "fct_buyback_base_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet", "model.synthetix.fct_buyback_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_previous_order_expired_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_previous_order_expired_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_previous_order_expired_base_mainnet"], "alias": "fct_perp_previous_order_expired_base_mainnet", "checksum": {"name": "sha256", "checksum": "91520936a0209dacdba84d1e49999175dd06334d07809457772a0cf3b6668043"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0026824, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n {{ convert_wei(\"acceptable_price\") }} AS acceptable_price,\n {{ convert_wei(\"size_delta\") }} AS size_delta\nFROM\n {{ ref(\"perp_previous_order_expired_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_position_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_liq_position_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_liq_position_base_mainnet"], "alias": "fct_perp_liq_position_base_mainnet", "checksum": {"name": "sha256", "checksum": "d19fec43f5a187f5567683a9198e7453f7f0b1bdbee0ff194baa718575bea749"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0094967, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"", "raw_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n {{ convert_wei('amount_liquidated') }} AS amount_liquidated,\n {{ convert_wei('current_position_size') }} AS position_size\n FROM\n {{ ref('perp_position_liquidated_base_mainnet') }}\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n {{ ref('fct_perp_markets_base_mainnet') }}\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_trades_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_trades_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_trades_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_trades_base_mainnet"], "alias": "fct_perp_trades_base_mainnet", "checksum": {"name": "sha256", "checksum": "b1a1d3a8962cc283b6d25d2a6643d9c78eff6758b874daac77e46bda5261bc52"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0043242, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n {{ convert_wei('fill_price') }} AS fill_price,\n {{ convert_wei('pnl') }} AS pnl,\n {{ convert_wei('accrued_funding') }} AS accrued_funding,\n {{ convert_wei('size_delta') }} AS trade_size,\n {{ convert_wei('new_size') }} AS position_size,\n {{ convert_wei('total_fees') }} AS total_fees,\n {{ convert_wei('referral_fees') }} AS referral_fees,\n {{ convert_wei('collected_fees') }} AS collected_fees,\n {{ convert_wei('settlement_reward') }} AS settlement_reward,\n {{ convert_hex('tracking_code') }} AS tracking_code,\n pos.settler\n FROM\n {{ ref('perp_order_settled_base_mainnet') }} AS pos\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }} AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_markets_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_markets_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_markets_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_markets_base_mainnet"], "alias": "fct_perp_markets_base_mainnet", "checksum": {"name": "sha256", "checksum": "2acfb7fffd6954d2fa05da787e6f44f68866aac30f70d81e416352cf26bdb843"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0070148, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n {{ ref('perp_market_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_collateral_modified_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_modified_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_collateral_modified_base_mainnet"], "alias": "fct_perp_collateral_modified_base_mainnet", "checksum": {"name": "sha256", "checksum": "e3d4bf2f0741708f46d1827a1fff1d34b9b5e354319b91b4a99025ad7b7c073b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0016208, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n {{ convert_wei(\"amount_delta\") }} AS amount_delta\nFROM\n {{ ref(\"perp_collateral_modified_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_liq_account_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_liq_account_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_liq_account_base_mainnet"], "alias": "fct_perp_liq_account_base_mainnet", "checksum": {"name": "sha256", "checksum": "ca9cf1a7bde83b9e410f02bfc9391479e08d82ed92565e02b992bfdba9cf59a2"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0101516, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"", "raw_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n {{ ref('perp_account_liquidation_attempt_base_mainnet') }}\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM({{ convert_wei('reward') }}) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_interest_charged_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_interest_charged_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_interest_charged_base_mainnet"], "alias": "fct_perp_interest_charged_base_mainnet", "checksum": {"name": "sha256", "checksum": "149674ceaa76471d345cfdf1094e3161b81559c6f146d1dd86592b16ecaae350"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.000675, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"", "raw_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n {{ convert_wei(\"interest\") }} AS interest\nFROM\n {{ ref(\"perp_interest_charged_base_mainnet\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_market_history_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_market_history_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_market_history_base_mainnet"], "alias": "fct_perp_market_history_base_mainnet", "checksum": {"name": "sha256", "checksum": "8a61927f58dffacf10476f268ac3eb6d324f574e9901a3259db1b3b765ecca2b"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0085375, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('size') }} AS SIZE,\n {{ convert_wei('size_delta') }} AS size_delta,\n {{ convert_wei('current_funding_rate') }} AS funding_rate,\n {{ convert_wei('current_funding_velocity') }} AS funding_velocity,\n {{ convert_wei('interest_rate') }} AS interest_rate,\n {{ convert_wei('current_funding_rate') }} * 365.25 AS funding_rate_apr,\n {{ convert_wei('current_funding_rate') }} * 365.25 + {{ convert_wei('interest_rate') }} AS long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25 + {{ convert_wei('interest_rate') }} AS short_rate_apr\n FROM\n {{ ref('perp_market_updated_base_mainnet') }}\n mu\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }}\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_accounts_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_accounts_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_accounts_base_mainnet"], "alias": "fct_perp_accounts_base_mainnet", "checksum": {"name": "sha256", "checksum": "943282476515f222eaf4e3bce97c7509cf9c96b2545c68f22737dc3915af67a5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.010795, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n {{ ref('perp_account_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_orders_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_orders_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_orders_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_orders_base_mainnet"], "alias": "fct_perp_orders_base_mainnet", "checksum": {"name": "sha256", "checksum": "54791693c6e62e8cc7df763804db164ee9ac7d9e131269d7bbf5239cf2e95fa5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0062077, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n {{ convert_wei('oc.size_delta') }} AS SIZE,\n {{ convert_wei('oc.acceptable_price') }} AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n {{ convert_hex('oc.tracking_code') }} AS tracking_code,\n oc.sender\n FROM\n {{ ref('perp_order_committed_base_mainnet') }}\n oc\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }} AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_pnl_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_perp_pnl_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "fct_perp_pnl_base_mainnet"], "alias": "fct_perp_pnl_base_mainnet", "checksum": {"name": "sha256", "checksum": "f67098ad5aafafaf459a2977c1922fd6e5e7dd4391bafd02e40621e16d8e248c"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_pnl": {"name": "market_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0049736, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"", "raw_code": "{# DEPRECATED: deprecate this table in dashboards and remove #}\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n {{ ref('core_vault_debt_base_mainnet') }}\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_vault_collateral_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_vault_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_vault_collateral_base_mainnet"], "alias": "fct_core_vault_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "392fc60d1541009aa2853a2aad493d0c3734d78a747201920e548f2bc9b1f855"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0122323, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n {{ ref(\"core_vault_collateral_base_mainnet\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_apr_rewards_base_mainnet"], "alias": "fct_core_apr_rewards_base_mainnet", "checksum": {"name": "sha256", "checksum": "feb8e6c50fcf47e994a2e2b9898f414806d7a49e03b64eddc81b065104fac20f"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335128.343785, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_rewards_base_mainnet\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_token_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_token_hourly_base_mainnet"], "alias": "fct_pool_rewards_token_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "107eca8dabf089f9d3732e64002bb67cb1c7bfac01325a48c83d79adecc7b5eb"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0238621, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_base_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_base_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_rewards_base_mainnet", "model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_pnl_hourly_base_mainnet"], "alias": "fct_pool_pnl_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "ec32e9f2ba8bab3f65793b324a1c80bc821777cff442894d332377379c5d8dfb"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1721335130.0222588, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n {{ ref('fct_pool_issuance_hourly_base_mainnet') }}\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n {{ ref('core_vault_collateral_base_mainnet') }}\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_hourly_base_mainnet') }}\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_debt_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_debt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_debt_base_mainnet"], "alias": "fct_pool_debt_base_mainnet", "checksum": {"name": "sha256", "checksum": "15cb510f8546fa97838ca598da23ad262dbd2343975acb75da4fb2c1547e91c0"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.019617, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_base_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_pnl_hourly_reward_base_mainnet"], "alias": "fct_pool_pnl_hourly_reward_base_mainnet", "checksum": {"name": "sha256", "checksum": "58ea2a474bdb7a2254fd58e989345813e5264cfbe69e1064ceb10af4f8a39c7d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1721335128.3543649, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_issuance_hourly_base_mainnet"], "alias": "fct_pool_issuance_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "9e23a936d7231fa43ed76d52e5584c052e3481a108c6e49bda5d6aa813629677"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0203853, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_base_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_base_mainnet') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_apr_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_apr_base_mainnet"], "alias": "fct_core_apr_base_mainnet", "checksum": {"name": "sha256", "checksum": "90d1b6944724fc799fc4003e13081cad01a7442ef829071c6ca4bc01323ccb05"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_pnl": {"name": "apr_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_pnl": {"name": "apy_24h_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_pnl": {"name": "apr_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_pnl": {"name": "apy_7d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_pnl": {"name": "apr_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_pnl": {"name": "apy_28d_pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h_rewards": {"name": "apr_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h_rewards": {"name": "apy_24h_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d_rewards": {"name": "apr_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d_rewards": {"name": "apy_7d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d_rewards": {"name": "apr_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d_rewards": {"name": "apy_28d_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0158832, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"", "raw_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_hourly_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_hourly_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_hourly_base_mainnet"], "alias": "fct_pool_rewards_hourly_base_mainnet", "checksum": {"name": "sha256", "checksum": "434ba692e732ab123afc3e3f7792e98c626e385019d35acdaffa361e49b9ddd5"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0229502, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_collateral_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pool_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pool_collateral_base_mainnet"], "alias": "fct_core_pool_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "7de6daa10de447ec7cecf40255f95285a1ea9eba1d67f3b3729dc7faec9a240e"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0174894, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_base_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_base_mainnet') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_base_mainnet", "model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pool_delegation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pool_delegation_base_mainnet"], "alias": "fct_core_pool_delegation_base_mainnet", "checksum": {"name": "sha256", "checksum": "cd3a1513434a32dce6bce331f9cda53df4f2543c7911db8716f063f182324712"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0181854, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_issuance_base_mainnet"], "alias": "fct_pool_issuance_base_mainnet", "checksum": {"name": "sha256", "checksum": "4adf38d4eb611a2fe506e2a25d65a604fea56d4120560ce826435b9edf3af326"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0212362, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_account_delegation_base_mainnet"], "alias": "fct_core_account_delegation_base_mainnet", "checksum": {"name": "sha256", "checksum": "17eb721d7bf386ed2b881ecd976b7755dae9c05b738b4eeed09597e7ee64d898"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0138788, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_rewards_base_mainnet"], "alias": "fct_pool_rewards_base_mainnet", "checksum": {"name": "sha256", "checksum": "9350c16c0981a8d0478409f4e668913956016fd5f6616567074def8327a3ccd8"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "ts_start": {"name": "ts_start", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0131378, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"", "raw_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n {{ convert_wei('amount') }} AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n {{ ref('core_rewards_distributed_base_mainnet') }}\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n {{ ref('base_mainnet_reward_distributors') }}\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}, {"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet", "seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_pools_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_pools_base_mainnet"], "alias": "fct_core_pools_base_mainnet", "checksum": {"name": "sha256", "checksum": "3e28ee0198e0c422bd5e2fdba2331c0287112080ad39dd0e9b37e01c531a6b40"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0188775, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_market_updated_base_mainnet"], "alias": "fct_core_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "5dd3ebec8c474473ffcfc069f443dca071db396ddacab4ba25ef11a68a1ed6be"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0168185, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_base_mainnet') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_synth_supply_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "unique_id": "model.synthetix.fct_synth_supply_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_synth_supply_base_mainnet"], "alias": "fct_synth_supply_base_mainnet", "checksum": {"name": "sha256", "checksum": "56348a028023940be5e89a26c148454a305be208ddcfe3f2a043c331e76b156d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0247936, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_base_mainnet') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_mainnet') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_base_mainnet') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_base_mainnet') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_base_mainnet') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}, {"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_base_mainnet", "package": null, "version": null}, {"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet", "model.synthetix.fct_spot_atomics_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet", "model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_wrapper_base_mainnet"], "alias": "fct_spot_wrapper_base_mainnet", "checksum": {"name": "sha256", "checksum": "4723b908acaaa82f4ea92e3a3918d2723e0f11e7e71c1fd9834c18d207099ef9"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.02715, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"", "raw_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('amount_wrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_wrapped_base_mainnet') }}\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * {{ convert_wei('amount_unwrapped') }} AS amount_wrapped\n FROM\n {{ ref('spot_synth_unwrapped_base_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}, {"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet", "model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_markets_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_markets_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_markets_base_mainnet"], "alias": "fct_spot_markets_base_mainnet", "checksum": {"name": "sha256", "checksum": "1daa32ef517e19cf9a2e24c9a22d29db1db8e7232086adb25eb1be194924b509"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.0263782, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_base_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_atomics_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "fct_spot_atomics_base_mainnet"], "alias": "fct_spot_atomics_base_mainnet", "checksum": {"name": "sha256", "checksum": "ff87e8124b54d6ba42d499013b935fa60b66d193666c2fa89983fe5c0c9c7817"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet"}, "created_at": 1721335130.025693, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"", "raw_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('synth_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_bought_base_mainnet') }}\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n {{ convert_wei('price') }} AS price,\n -1 * {{ convert_wei('amount_returned') }} AS amount,\n referrer\n FROM\n {{ ref('spot_synth_sold_base_mainnet') }}\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}, {"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet", "model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "blocks_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "unique_id": "model.synthetix.blocks_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "blocks_arbitrum_sepolia"], "alias": "blocks_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "53365c494dfa2ac9759de2cf6de05317a9fe21c6c915dd0b4e67b0b3caf40461"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.542065, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "block"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_sepolia.block", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_delegation_updated_arbitrum_sepolia"], "alias": "core_delegation_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "cef7204706b5bdfdc82b9f8b019a33d317cd0254495673a9b4e132dc46abd38d"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5489137, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_collateral_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_collateral_arbitrum_sepolia"], "alias": "core_vault_collateral_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "0f68ee3d60aee1ebf5708c0578bc80f56db15fd4dd2ec24722650f82a2614675"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5640776, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n \"core_get_vault_collateral\"\n ) }}\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.amount') }} AS amount,\n {{ convert_wei('base.collateral_value') }} AS collateral_value\nFROM\n base\n JOIN {{ ref('blocks_arbitrum_sepolia') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [["raw_arbitrum_sepolia", "core_get_vault_collateral"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_usd_minted_arbitrum_sepolia"], "alias": "core_usd_minted_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "83f8cf4c5a0136714b08e254ba1cf9e67db55e58e1891e1e889bc114b4eff7b9"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5621197, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_deposited_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_deposited_arbitrum_sepolia"], "alias": "core_deposited_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "a1f3b746267829fc22f555604b226d98956df924bcb01a41c4a2763e546aa4ce"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5500324, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_usd_burned_arbitrum_sepolia"], "alias": "core_usd_burned_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7f29f1a66a4d89886ba7229ded304ac92d61b5f6632e1b3a5856fc45af7a4e8e"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.560843, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_debt_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_debt_arbitrum_sepolia"], "alias": "core_vault_debt_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "0e1939983829b467ccc922eda8feb3f198084d61798ff357141dcf8eecdc0fb2"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5648742, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n {{ source(\n 'raw_arbitrum_sepolia',\n \"core_get_vault_debt\"\n ) }}\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.debt') }} AS debt\nFROM\n base\n JOIN {{ ref('blocks_arbitrum_sepolia') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [["raw_arbitrum_sepolia", "core_get_vault_debt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_account_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_account_created_arbitrum_sepolia"], "alias": "core_account_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "7af4b82f54734dda2c5b2934adbee9a141999a2591ea4ecc978a2f69139ac648"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5472205, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_updated_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_market_updated_arbitrum_sepolia"], "alias": "core_market_updated_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "194e350b0d196ade1d77fc7cfed3935fedd28f327585b25eeafc8d0228f6e94f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5549664, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_withdrawn"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_vault_liquidation_arbitrum_sepolia"], "alias": "core_vault_liquidation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "af1d9b60fdf93aadbb260cd7bf3d51f63801c18a4497b864c3034757f5372594"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5632439, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_rewards_distributed_arbitrum_sepolia"], "alias": "core_rewards_distributed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "80c46d2fa6c604049a0e7313ce25820def3dcecc1b3f9edb71ef9f25223ab8b6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5597367, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_pool_created_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_pool_created_arbitrum_sepolia"], "alias": "core_pool_created_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "bbea92a5ccc2f91d8ba5b9fee49794534db96618e2de245be61adfebd7e0e2d7"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5571156, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_registered_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_market_registered_arbitrum_sepolia"], "alias": "core_market_registered_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "86b0c778b519247318bdb6d9680e146b6043aef0d0d5e45e730623e3e2f092d3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5560007, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_liquidation_arbitrum_sepolia"], "alias": "core_liquidation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "1a834b87c375d703ff0324284885b903e3cc25f207d0a754c2f0e2c8da46af8c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5534346, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_withdrawn_arbitrum_sepolia"], "alias": "core_withdrawn_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "560755ffc4a2a956c7c62825da3972088bd9538b579eff35ace1e0ef8c978ff0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.551156, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_claimed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_rewards_claimed_arbitrum_sepolia"], "alias": "core_rewards_claimed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "f05c5bb03bf3f2f63da225fec70fd3512ba0eb98f6ec5141110201903a21fb81"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.5582607, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_sold_arbitrum_sepolia"], "alias": "spot_synth_sold_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "289f99f5d785625c0f5f55841a64e23ca738e797b6437683dfda462e481586a3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.618586, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_unwrapped_arbitrum_sepolia"], "alias": "spot_synth_unwrapped_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9e740c25262223782270505bb652183beb949c7e1ac3458c6af3201df212439f"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6214008, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_bought_arbitrum_sepolia"], "alias": "spot_synth_bought_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "3e73c9a2489ee5ff7ffb4655e00cfc96addd82eb34d02c3fdc409044ce43919d"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6169877, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_cancelled_arbitrum_sepolia"], "alias": "spot_order_cancelled_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "505b90dded359c447a63a7b4cd7b044cf57e25ae9f1ca4555386df6aad10d168"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6141472, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_registered_arbitrum_sepolia"], "alias": "spot_synth_registered_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "ad059712a7c940a4b29ea53b23ba078279a4bb7655388c4f45dbb56067f26719"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6155136, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_settled_arbitrum_sepolia"], "alias": "spot_order_settled_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "853b98444378f3a69bc26a1df6e4570341194eb7ad890ca89d6f1ad57ab1f64b"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6123905, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_synth_wrapped_arbitrum_sepolia"], "alias": "spot_synth_wrapped_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "5d1fca3a3ebbd5dba69aad3f5265c11abe50939b215d3da4f100469f6b66fe58"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.6199872, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "spot_order_committed_arbitrum_sepolia"], "alias": "spot_order_committed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "0a8ebedfb06d1d16414017055777c0417a60e087d6085db3edb5cb396d740295"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "raw_arbitrum_sepolia"}, "created_at": 1721335130.610799, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "unique_id": "model.synthetix.blocks_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "blocks_arbitrum_mainnet"], "alias": "blocks_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c5cfbaf3a34774b4ced4d5ddf060c63f98fcf9611775c888c99acd1ee1e2c1b6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6489482, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "block"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_burned_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_usd_burned_arbitrum_mainnet"], "alias": "core_usd_burned_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "dfb93e36097af123886b9bc24360f01d2fc04ead87e088358194749353cde646"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6653593, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_market_updated_arbitrum_mainnet"], "alias": "core_market_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "3dc31a1ac69705c39875ee207753e76af3e87a7a263ea031a1d9d8b680406cb0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6594331, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_arbitrum_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_arbitrum_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_arbitrum_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_registered_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_market_registered_arbitrum_mainnet"], "alias": "core_market_registered_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "fca578a9831249f11cbf97e0b963f00eb4648c20536c23c5e4602c1d2470e7d6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6604462, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_debt_arbitrum_mainnet"], "alias": "core_vault_debt_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "735d7297c3d611c36db15069aaac6f0d999397f70b26ecb82dee7832e4f5ead4"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6693542, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n \"core_get_vault_debt\"\n ) }}\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.debt') }} AS debt\nFROM\n base\n JOIN {{ ref('blocks_arbitrum_mainnet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [["raw_arbitrum_mainnet", "core_get_vault_debt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_collateral_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_collateral_arbitrum_mainnet"], "alias": "core_vault_collateral_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "3747ec5212bbb431c34c4d421cdb2f51ecd4bb258c94bcee59ccdb690a7be19e"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.668542, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n \"core_get_vault_collateral\"\n ) }}\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.amount') }} AS amount,\n {{ convert_wei('base.collateral_value') }} AS collateral_value\nFROM\n base\n JOIN {{ ref('blocks_arbitrum_mainnet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [["raw_arbitrum_mainnet", "core_get_vault_collateral"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_account_created_arbitrum_mainnet"], "alias": "core_account_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "03b529fd2caffaa47a2c5e4ee174d5bb3d76a64635dfb6da55db6d078acc85b0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6534948, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_pool_created_arbitrum_mainnet"], "alias": "core_pool_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "dbdeb45169e27e69f0bb0a87dd43807242d084d33ac58646f93aecd1e38e5cb5"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.661591, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_delegation_updated_arbitrum_mainnet"], "alias": "core_delegation_updated_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f5bf2169e9c72dd2bcd2976effbf9e703b3f005c955326de12ed9490967df0eb"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6548064, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_minted_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_usd_minted_arbitrum_mainnet"], "alias": "core_usd_minted_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0dfa98a4c6a52c14dc0ec647d4e7e086968f0f079cd55a8c7b9881a21c5c4edc"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6664884, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_liquidation_arbitrum_mainnet"], "alias": "core_liquidation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "c4953e37eb5ca809b383e8d13090b43b4fa33d6053836cf57a969cd083fba9a3"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.658159, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_rewards_claimed_arbitrum_mainnet"], "alias": "core_rewards_claimed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f05c5bb03bf3f2f63da225fec70fd3512ba0eb98f6ec5141110201903a21fb81"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6627274, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_deposited_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_deposited_arbitrum_mainnet"], "alias": "core_deposited_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "66cfe12e8147ecfcaa370240690497b5e27db83c8764ac207ebcff39cd21068c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6558907, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_distributed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_rewards_distributed_arbitrum_mainnet"], "alias": "core_rewards_distributed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "7b775a38ac7662920deb8087d3f9228fe407ce99ea0dcc3756335e96da122d27"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6642196, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_withdrawn_arbitrum_mainnet"], "alias": "core_withdrawn_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "b5218d8a5f5d9b1e2b6bfd58121bd917660b1856db9528432b94fb9f17106d7e"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6569705, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_liquidation_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_vault_liquidation_arbitrum_mainnet"], "alias": "core_vault_liquidation_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f9db0b46de7d6d32fa672cc76656b94a70d5a477a005d1da8263186c747c03d2"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.6676204, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_registered_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_registered_arbitrum_mainnet"], "alias": "spot_synth_registered_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "a43c78e1d07816684a33756713e88a9d6e0dc414f5d155f8fea5aff9bc691c2c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.7181034, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_bought_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_bought_arbitrum_mainnet"], "alias": "spot_synth_bought_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "6d7270eaad10766ac903650dd89388215749a90fc570541a98b2aec70b791ad1"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.719292, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_settled_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_settled_arbitrum_mainnet"], "alias": "spot_order_settled_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "31b8c68f36467ac51ba256e259172446d75e67bbbbb2b4b13986fd4e083e45a6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.7156482, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_wrapped_arbitrum_mainnet"], "alias": "spot_synth_wrapped_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "b8604c839a2130f18cd7fc69b6936a3d3fcd880bbbb6698253e6ea54130aa444"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.7215564, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_sold_arbitrum_mainnet"], "alias": "spot_synth_sold_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "31df026d77a280e56bbf3609c846534f6b24c6533cf00103d368166d3b0746d2"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.720467, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_committed_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_committed_arbitrum_mainnet"], "alias": "spot_order_committed_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "7e3b2e4c34c6c9d267f144c3b2ef6fd6ea58705e47b0681d8843e90c13763a5a"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.71429, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_cancelled_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_order_cancelled_arbitrum_mainnet"], "alias": "spot_order_cancelled_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "d990d04b0826df90248d494e12b317cfda1c77d3150b85ffcba2bd108027265c"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.7168434, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_unwrapped_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "spot_synth_unwrapped_arbitrum_mainnet"], "alias": "spot_synth_unwrapped_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "f9fc4049fe5a1e345522415b569a82b4618ed452df5c8faddd850d755ad775dd"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/arbitrum/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "raw_arbitrum_mainnet"}, "created_at": 1721335130.7227142, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "blocks_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/blocks_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/blocks_base_sepolia.sql", "unique_id": "model.synthetix.blocks_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "blocks_base_sepolia"], "alias": "blocks_base_sepolia", "checksum": {"name": "sha256", "checksum": "59cca3d30d796cad9f3be4696472ea965664705603ac52b193a4aac56a1f136a"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7506523, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_sepolia',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_sepolia',\n 'blocks_parquet'\n ) }}\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "block"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_sepolia.block", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.buyback_processed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "unique_id": "model.synthetix.buyback_processed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "buyback_processed_base_sepolia"], "alias": "buyback_processed_base_sepolia", "checksum": {"name": "sha256", "checksum": "010954298efcc3c0bb7ec90b47681bef4265d576398a379f98a1beab546132b0"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7551582, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "raw_code": "WITH current_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'buyback_snx',\n 'buyback_processed'\n ) }}\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "buyback_snx_event_buyback_processed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql", "compiled": true, "compiled_code": "WITH current_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_settled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "unique_id": "model.synthetix.perp_order_settled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_order_settled_base_sepolia"], "alias": "perp_order_settled_base_sepolia", "checksum": {"name": "sha256", "checksum": "86e667a3c0a4d84fead639dce0427c01d7a8fcc3d492cc0dc487b6eac53cc1c3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderSettled events from the PerpsMarketProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.759866, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_charged_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "unique_id": "model.synthetix.perp_interest_charged_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_interest_charged_base_sepolia"], "alias": "perp_interest_charged_base_sepolia", "checksum": {"name": "sha256", "checksum": "130d56a27727bdc80ce7255da22ad55daf7d74252dbfe46e394ff6ca8e29dae0"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7699022, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "unique_id": "model.synthetix.perp_account_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_account_created_base_sepolia"], "alias": "perp_account_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "cc82ef0f016346142c2ddb134fa9385dd11caa8231c0c9b32868d9a4495715c9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountCreated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.755932, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_collateral_modified_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_collateral_modified_base_sepolia"], "alias": "perp_collateral_modified_base_sepolia", "checksum": {"name": "sha256", "checksum": "476eac2d39bc3b633ca9217db631deb3d6280d97c24963c95edad518a1024381"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "CollateralModified events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7665389, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.perp_market_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_market_updated_base_sepolia"], "alias": "perp_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "27d449958c1abe10e8fc6cd2b719bed1d180a70c99297fe0732e54e093f088b2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "MarketUpdated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7618964, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy_legacy',\n 'market_updated'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_legacy_event_market_updated"], ["raw_base_sepolia", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_account_liquidation_attempt_base_sepolia"], "alias": "perp_account_liquidation_attempt_base_sepolia", "checksum": {"name": "sha256", "checksum": "ccc7fa4c22b3e526ff9bf92d79917baec1bfc6ec5c05544664d042d099a1f9ec"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountLiquidationAttemp events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7653637, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_position_liquidated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_position_liquidated_base_sepolia"], "alias": "perp_position_liquidated_base_sepolia", "checksum": {"name": "sha256", "checksum": "d704e9aad1dcf717a0ff7578f690814a30320f72a93cb72db2f9cb8f87bf85d6"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PositionLiquidated events from the PerpsMarketProxy contract", "columns": {"account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.763305, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_committed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "unique_id": "model.synthetix.perp_order_committed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_order_committed_base_sepolia"], "alias": "perp_order_committed_base_sepolia", "checksum": {"name": "sha256", "checksum": "b68e1c3e71e64530f1023cdede2cb0011515243da833b2cc96a23bc517ccf3ac"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCommitted events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7579098, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy_legacy',\n 'order_committed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_legacy_event_order_committed"], ["raw_base_sepolia", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_previous_order_expired_base_sepolia"], "alias": "perp_previous_order_expired_base_sepolia", "checksum": {"name": "sha256", "checksum": "b602d5da6545dafdf23b0d1f4f89bf0db732a568410cd378a49b70e523858f92"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PreviousOrderExpired events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7677195, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_interest_rate_updated_base_sepolia"], "alias": "perp_interest_rate_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "6e2c54fc1883aa5ab806fc04ad5e04e8610879641368932a1f36206546d36214"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7711666, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "unique_id": "model.synthetix.perp_market_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "perp_market_created_base_sepolia"], "alias": "perp_market_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "924f240578edb5162dabbf0fb3c8eb3313a3b8cbff5912fd37e2157d6c93d66f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"market_name": {"name": "market_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7689848, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "unique_id": "model.synthetix.core_usd_burned_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_usd_burned_base_sepolia"], "alias": "core_usd_burned_base_sepolia", "checksum": {"name": "sha256", "checksum": "833e46c938d783437bca7567fd8bd60c353759bc549d7c76278486619060c57c"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8105986, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "unique_id": "model.synthetix.core_withdrawn_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_withdrawn_base_sepolia"], "alias": "core_withdrawn_base_sepolia", "checksum": {"name": "sha256", "checksum": "d5ccbad2b2c582718061eac99e8f61ede48b2906280c818916e4469962388ea9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8025925, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_rewards_distributed_base_sepolia"], "alias": "core_rewards_distributed_base_sepolia", "checksum": {"name": "sha256", "checksum": "8d94d36c25d731f5c3844d8cdfabb1fa7d83e0bf6522dddc4b58b8ec435ef51f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8094711, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_account_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_account_created_base_sepolia.sql", "unique_id": "model.synthetix.core_account_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_account_created_base_sepolia"], "alias": "core_account_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "ae2e8cd3e8834e46de9c2725e8e01d9a41a6c1df29302c14f5a3fada1d774c3f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.7990716, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "unique_id": "model.synthetix.core_delegation_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_delegation_updated_base_sepolia"], "alias": "core_delegation_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "568095a33461607f475d7f357d00cd912c699d36039da4f277497551767bf118"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.800264, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_rewards_claimed_base_sepolia"], "alias": "core_rewards_claimed_base_sepolia", "checksum": {"name": "sha256", "checksum": "f0a0c9b2cf07c22854105b7bceaec299f130fcd39a8cf018173f412bcf8f3723"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.808267, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "unique_id": "model.synthetix.core_pool_created_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_pool_created_base_sepolia"], "alias": "core_pool_created_base_sepolia", "checksum": {"name": "sha256", "checksum": "cbaca8f6baeed29112dc1ed3b3a7d8386367b5f33b78f9e431b74d7eb6042bbe"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8071175, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "unique_id": "model.synthetix.core_usd_minted_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_usd_minted_base_sepolia"], "alias": "core_usd_minted_base_sepolia", "checksum": {"name": "sha256", "checksum": "fc3cf1c3a58f889f647fbd7f821731c2105c499d4dc6ac7e0c23a2694d60de86"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8118, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "unique_id": "model.synthetix.core_liquidation_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_liquidation_base_sepolia"], "alias": "core_liquidation_base_sepolia", "checksum": {"name": "sha256", "checksum": "90cf5a6ebd1d96d2655b0a7d8b58c39035a0a858d5080d83406f3f1280973279"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8037698, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_debt_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_debt_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_debt_base_sepolia"], "alias": "core_vault_debt_base_sepolia", "checksum": {"name": "sha256", "checksum": "8ce34185cc27142cfa6fb771e4f1f176865df42c811bb5cbb3026ae3512eac12"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8145776, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n {{ source(\n 'raw_base_sepolia',\n \"core_get_vault_debt\"\n ) }}\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.debt') }} AS debt\nFROM\n base\n JOIN {{ ref('blocks_base_sepolia') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [["raw_base_sepolia", "core_get_vault_debt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_debt", "model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "unique_id": "model.synthetix.core_market_registered_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_market_registered_base_sepolia"], "alias": "core_market_registered_base_sepolia", "checksum": {"name": "sha256", "checksum": "a79402ef14f085d703a08030ec057a88cfe9cb4a8b7ba9fd40b8ea0d51a821e1"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8060255, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "unique_id": "model.synthetix.core_market_updated_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_market_updated_base_sepolia"], "alias": "core_market_updated_base_sepolia", "checksum": {"name": "sha256", "checksum": "66f1d52925ade31ea67ed4cebae66729bc130cd2c534b7a45af6ebcac09a99c3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.804981, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy_legacy',\n 'market_usd_deposited'\n ) }}\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy_legacy',\n 'market_usd_withdrawn'\n ) }}\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_legacy_event_market_usd_deposited"], ["raw_base_sepolia", "core_proxy_legacy_event_market_usd_withdrawn"], ["raw_base_sepolia", "core_proxy_event_market_collateral_deposited"], ["raw_base_sepolia", "core_proxy_event_market_collateral_withdrawn"], ["raw_base_sepolia", "core_proxy_event_market_usd_deposited"], ["raw_base_sepolia", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_liquidation_base_sepolia"], "alias": "core_vault_liquidation_base_sepolia", "checksum": {"name": "sha256", "checksum": "d632538a5b8966989500359d26ade4c3a76ee0205b413ec85fac31a2e6f9d6a9"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.812933, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_deposited_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_deposited_base_sepolia.sql", "unique_id": "model.synthetix.core_deposited_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_deposited_base_sepolia"], "alias": "core_deposited_base_sepolia", "checksum": {"name": "sha256", "checksum": "7cef523a13b112a44990a83ebeb17e37d88f255d63a470f1cddbce57e5533b21"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8013616, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "core_vault_collateral_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "unique_id": "model.synthetix.core_vault_collateral_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "core_vault_collateral_base_sepolia"], "alias": "core_vault_collateral_base_sepolia", "checksum": {"name": "sha256", "checksum": "f0b3aee8af94c0f8bdedc0034dbbb97eea11dcb2d85aaac19836060c8ada2c37"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8137882, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n {{ source(\n 'raw_base_sepolia',\n \"core_get_vault_collateral\"\n ) }}\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.amount') }} AS amount,\n {{ convert_wei('base.collateral_value') }} AS collateral_value\nFROM\n base\n JOIN {{ ref('blocks_base_sepolia') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [["raw_base_sepolia", "core_get_vault_collateral"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_collateral", "model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_wrapped_base_sepolia"], "alias": "spot_synth_wrapped_base_sepolia", "checksum": {"name": "sha256", "checksum": "fb77935d00d422b474738516db7cf0b410e4595ed8e4f8e230f8c2c653bce229"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8673234, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_bought_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_bought_base_sepolia"], "alias": "spot_synth_bought_base_sepolia", "checksum": {"name": "sha256", "checksum": "eece206cffd14e72c7a2358018f0dccc3310b2d94637490579d213ebf0adcba2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8650973, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_sold_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_sold_base_sepolia"], "alias": "spot_synth_sold_base_sepolia", "checksum": {"name": "sha256", "checksum": "97cdb241ab96a59a42fbaaeaaf72527c43a4d2fee0d22b1e555b8b9d67c3659d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8662598, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_cancelled_base_sepolia"], "alias": "spot_order_cancelled_base_sepolia", "checksum": {"name": "sha256", "checksum": "e47c8a2b4292d7210d38030941bedcda72bd58ba3e28f6397ef6dca68e9b739b"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8627675, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_unwrapped_base_sepolia"], "alias": "spot_synth_unwrapped_base_sepolia", "checksum": {"name": "sha256", "checksum": "17e886ce2a1cdc3470e83b40e3fd50e3d27d84b1744c4c96303b5d19c0553af4"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8685126, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_committed_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_committed_base_sepolia"], "alias": "spot_order_committed_base_sepolia", "checksum": {"name": "sha256", "checksum": "b8c979efa88d9aad5afe4207fccab314311eb36b58d5f48c6518502afbf7d504"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8602722, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "unique_id": "model.synthetix.spot_order_settled_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_order_settled_base_sepolia"], "alias": "spot_order_settled_base_sepolia", "checksum": {"name": "sha256", "checksum": "6bfd0eeaf56a4ba40817134104376d180c25bb595f8ecd2f49700e9a88faae8d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.8616774, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_base_sepolia": {"database": "analytics", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "original_file_path": "models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "unique_id": "model.synthetix.spot_synth_registered_base_sepolia", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "spot_synth_registered_base_sepolia"], "alias": "spot_synth_registered_base_sepolia", "checksum": {"name": "sha256", "checksum": "1b11853437323fbd9b2d087c12e5878c7db8b0e20c474bf8123dccdaf2dca644"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/sepolia/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "raw_base_sepolia"}, "created_at": 1721335130.863909, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.blocks_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/blocks_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/blocks_base_mainnet.sql", "unique_id": "model.synthetix.blocks_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "blocks_base_mainnet"], "alias": "blocks_base_mainnet", "checksum": {"name": "sha256", "checksum": "4bd6c1f1c88e709bc7cd294216d2f9b274482569f6a4b46b2be209ccd2cbe4bb"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Block numbers and timestamps", "columns": {"ts": {"name": "ts", "description": "UTC timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.8962317, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_base_mainnet',\n 'blocks_parquet'\n ) }}\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "block"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_mainnet.block", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.buyback_processed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "unique_id": "model.synthetix.buyback_processed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "buyback_processed_base_mainnet"], "alias": "buyback_processed_base_mainnet", "checksum": {"name": "sha256", "checksum": "9e4a14f8473d54f2426e6395ac77612f90b6e177777d82d95e99f0e6ccd100a6"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/buyback/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9007442, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'buyback_snx_legacy',\n 'buyback_processed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'buyback_snx',\n 'buyback_processed'\n ) }}\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "buyback_snx_legacy_event_buyback_processed"], ["raw_base_mainnet", "buyback_snx_event_buyback_processed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_charged_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_interest_charged_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "unique_id": "model.synthetix.perp_interest_charged_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_interest_charged_base_mainnet"], "alias": "perp_interest_charged_base_mainnet", "checksum": {"name": "sha256", "checksum": "0922f7423b285b2c26ff699c017f309274c416db6c66e15155309d1389efab43"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.912814, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_charged'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_interest_charged"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_market_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "unique_id": "model.synthetix.perp_market_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_market_created_base_mainnet"], "alias": "perp_market_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "802fd456f3e7e7d0bdf51a98d058137b7b3530c6b058a8ea0a4dc98299634cac"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"market_name": {"name": "market_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9119391, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_market_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.perp_market_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_market_updated_base_mainnet"], "alias": "perp_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "c6996a6a651b8c3878047f52008b36e293e0b638542e9280d29c0ea95bbb3a57"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "MarketUpdated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_rate": {"name": "current_funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "current_funding_velocity": {"name": "current_funding_velocity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9059885, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'market_updated'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_market_updated"], ["raw_base_mainnet", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_position_liquidated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_position_liquidated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_position_liquidated_base_mainnet"], "alias": "perp_position_liquidated_base_mainnet", "checksum": {"name": "sha256", "checksum": "2d3a9910e0657c88f1cefe1b53f8a4f3ccab0e3442f7b7fef46f69cb9ac47073"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PositionLiquidated events from the PerpsMarketProxy contract", "columns": {"account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.907163, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'position_liquidated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_position_liquidated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_liquidation_attempt_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_account_liquidation_attempt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_account_liquidation_attempt_base_mainnet"], "alias": "perp_account_liquidation_attempt_base_mainnet", "checksum": {"name": "sha256", "checksum": "64ef52da5ab054d601f58a13c845db9b2a0afdf0eae1e2ade8f02040983e8aee"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountLiquidationAttemp events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9083266, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'account_liquidation_attempt'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_account_liquidation_attempt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_previous_order_expired_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_previous_order_expired_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_previous_order_expired_base_mainnet"], "alias": "perp_previous_order_expired_base_mainnet", "checksum": {"name": "sha256", "checksum": "9ac42591424ad3fa7408d9292b7a950daa06976beeb5b610af249dda4f6bada3"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PreviousOrderExpired events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9106276, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'previous_order_expired'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_previous_order_expired"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_interest_rate_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_interest_rate_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_interest_rate_updated_base_mainnet"], "alias": "perp_interest_rate_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "2cb5664bb07b967e2cc8d24e5250da08bca4537e89cd143b266928689858d20f"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9137223, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_committed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "unique_id": "model.synthetix.perp_order_committed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_order_committed_base_mainnet"], "alias": "perp_order_committed_base_mainnet", "checksum": {"name": "sha256", "checksum": "a6eca0cfba74d0d75bd934eb9054eb234450f9615e842ce746401f4b6ba7c171"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCommitted events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "commitment_time": {"name": "commitment_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expiration_time": {"name": "expiration_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_time": {"name": "settlement_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "expected_price_time": {"name": "expected_price_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "acceptable_price": {"name": "acceptable_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9031885, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'order_committed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_order_committed"], ["raw_base_mainnet", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_collateral_modified_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_collateral_modified_base_mainnet"], "alias": "perp_collateral_modified_base_mainnet", "checksum": {"name": "sha256", "checksum": "0149ff89e332f7dd041d79224e5d40bff0f4dff8ff6c53f7be46535b7c27e5d4"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "CollateralModified events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_delta": {"name": "amount_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9094536, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'collateral_modified'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_collateral_modified"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_settled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_order_settled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "unique_id": "model.synthetix.perp_order_settled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_order_settled_base_mainnet"], "alias": "perp_order_settled_base_mainnet", "checksum": {"name": "sha256", "checksum": "7b3cad384e6fbb737855f81d6fdea8fbc6353d3c075050567a322641179442ee"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderSettled events from the PerpsMarketProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "new_size": {"name": "new_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9047067, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_account_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_account_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "unique_id": "model.synthetix.perp_account_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_account_created_base_mainnet"], "alias": "perp_account_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "b9f3719261e477a4a97c3e431855eaec64ae7bb04685d0a4c0b6f8069a7574a2"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountCreated events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/perp/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9015408, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_withdrawn_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_withdrawn_base_mainnet"], "alias": "core_withdrawn_base_mainnet", "checksum": {"name": "sha256", "checksum": "e1966c3793d7e46b663d624d2757077ba920b281e4f1aa5c32cf933bcc21f3c7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9454849, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_market_registered_base_mainnet"], "alias": "core_market_registered_base_mainnet", "checksum": {"name": "sha256", "checksum": "c02aefeaa9f25102671f24a37fdf7aaab423fe87a25ed99e40537484caadf322"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9489162, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_delegation_updated_base_mainnet"], "alias": "core_delegation_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "d85c21be845cde044f13538a5de69e4d58a2f3cc48ead7a4b058ef6b1dd26cb7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9431798, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_deposited_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_deposited_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_deposited_base_mainnet.sql", "unique_id": "model.synthetix.core_deposited_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_deposited_base_mainnet"], "alias": "core_deposited_base_mainnet", "checksum": {"name": "sha256", "checksum": "988313e8181a96ec88bc9043006659b8d28e97c9d33f17a51c9a11ac8d136f50"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.944292, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_liquidation_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_liquidation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_liquidation_base_mainnet"], "alias": "core_vault_liquidation_base_mainnet", "checksum": {"name": "sha256", "checksum": "f4773bfeee1e9de66cc936cf1101fffae500cbffd50a61faa76846be12436f3d"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9558983, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_claimed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_rewards_claimed_base_mainnet"], "alias": "core_rewards_claimed_base_mainnet", "checksum": {"name": "sha256", "checksum": "646d641499cb5b4a866940e551ac7ca0783c92d360dc77505c6e828bae248247"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.951139, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_liquidation_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_liquidation_base_mainnet"], "alias": "core_liquidation_base_mainnet", "checksum": {"name": "sha256", "checksum": "2b02eaef31c8ec9bbe0acc96ebbef83843a6c42bdde5b4ea15244944670ad014"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidation_data": {"name": "liquidation_data", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidate_as_account_id": {"name": "liquidate_as_account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9466712, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_market_updated_base_mainnet"], "alias": "core_market_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "3362f1660b715e263f192e3d61a1f813d70b1811636c0b39394eab5f3da22bfc"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9478867, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy_legacy',\n 'market_usd_deposited'\n ) }}\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy_legacy',\n 'market_usd_withdrawn'\n ) }}\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_legacy_event_market_usd_deposited"], ["raw_base_mainnet", "core_proxy_legacy_event_market_usd_withdrawn"], ["raw_base_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_base_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_base_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_base_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_burned_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_usd_burned_base_mainnet"], "alias": "core_usd_burned_base_mainnet", "checksum": {"name": "sha256", "checksum": "8dc0b126101d355f8f0d53a640adacb9b30b4e4989b9e1349da43815e82c4e95"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9534612, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_pool_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_pool_created_base_mainnet"], "alias": "core_pool_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "d9996e0466b3ed6d0d78736ae65a3f679f0b10c23f5694a05a7128fd83b27867"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9500318, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_collateral_base_mainnet"], "alias": "core_vault_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "ec5325574f097e7babebed0f4922cf5af76f35e7026705d2f1034b93950e4688"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9567418, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n {{ source(\n 'raw_base_mainnet',\n \"core_get_vault_collateral\"\n ) }}\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.amount') }} AS amount,\n {{ convert_wei('base.collateral_value') }} AS collateral_value\nFROM\n base\n JOIN {{ ref('blocks_base_mainnet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [["raw_base_mainnet", "core_get_vault_collateral"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_collateral", "model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_rewards_distributed_base_mainnet"], "alias": "core_rewards_distributed_base_mainnet", "checksum": {"name": "sha256", "checksum": "01510b1809cc60820ba074a3a97007c99959d75e3ae169c3b98a9c31ddf41520"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9523144, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_usd_minted_base_mainnet"], "alias": "core_usd_minted_base_mainnet", "checksum": {"name": "sha256", "checksum": "8401e73a541bfdee6240879fd0c837315efc025f3f23e936e0cb9879517e27c8"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9547794, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_account_created_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_account_created_base_mainnet.sql", "unique_id": "model.synthetix.core_account_created_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_account_created_base_mainnet"], "alias": "core_account_created_base_mainnet", "checksum": {"name": "sha256", "checksum": "2eda4f239a2139855d87536d7a5776bfc5f404ac7ac611bbf9dd3230f4fa5207"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9419835, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_debt_base_mainnet"], "alias": "core_vault_debt_base_mainnet", "checksum": {"name": "sha256", "checksum": "cb3ff15ac0d388d56b6165273a811730a9eaddcb5c3ebfefda720b6ed730a682"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335130.9575775, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n {{ source(\n 'raw_base_mainnet',\n \"core_get_vault_debt\"\n ) }}\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n {{ convert_wei('base.debt') }} AS debt\nFROM\n base\n JOIN {{ ref('blocks_base_mainnet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [["raw_base_mainnet", "core_get_vault_debt"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_debt", "model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_settled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_settled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_settled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_settled_base_mainnet"], "alias": "spot_order_settled_base_mainnet", "checksum": {"name": "sha256", "checksum": "f6c29e4d25bd9a311872ce93f245585a5f3fc157d4d08d2d3db986d314717710"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderSettled events from the SpotMarketProxy contract", "columns": {"final_order_amount": {"name": "final_order_amount", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.004591, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_committed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_committed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_committed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_committed_base_mainnet"], "alias": "spot_order_committed_base_mainnet", "checksum": {"name": "sha256", "checksum": "9989a393df6da0e7381f4ae580f7ef1c70bd1b29f70a2c5adc90adef1e4cba0a"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCommitted events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0032377, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_committed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_cancelled_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_order_cancelled_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_order_cancelled_base_mainnet"], "alias": "spot_order_cancelled_base_mainnet", "checksum": {"name": "sha256", "checksum": "2ce9a9269f89237bc208fde354ef792e9db1918076c87855c086888f725627f7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCancelled events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0057144, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_sold_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_sold_base_mainnet"], "alias": "spot_synth_sold_base_mainnet", "checksum": {"name": "sha256", "checksum": "8cb97ab7806b6eb5cf28718822dadc5f6748237e4af17e210ca414bc81bab653"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0092766, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_wrapped_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_wrapped_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_wrapped_base_mainnet"], "alias": "spot_synth_wrapped_base_mainnet", "checksum": {"name": "sha256", "checksum": "37d99bf059f111c6d622e2f29882e4a0f7d97eaea344fc56fb876927c2753f06"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthWrapped events from the SpotMarketProxy contract", "columns": {"fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.010351, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_wrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_wrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_bought_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_bought_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_bought_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_bought_base_mainnet"], "alias": "spot_synth_bought_base_mainnet", "checksum": {"name": "sha256", "checksum": "5ca4f256eeba027501d477b7fce56a6bd2c03e9245e9f701a21ea8f72a49780e"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthBought events from the SpotMarketProxy contract", "columns": {"collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "synth_returned": {"name": "synth_returned", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0080645, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_unwrapped_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_unwrapped_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_unwrapped_base_mainnet"], "alias": "spot_synth_unwrapped_base_mainnet", "checksum": {"name": "sha256", "checksum": "5091b6f799f9c83e99915fc4bb33af930c13904a6f7d035da1dab458770ee931"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthUnwrapped events from the SpotMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0114994, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_registered_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_registered_base_mainnet"], "alias": "spot_synth_registered_base_mainnet", "checksum": {"name": "sha256", "checksum": "1056328ffd692c8bcffb78ab66ff597af26b50373ca0875279975eee000ba455"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/base/mainnet/spot/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "raw_base_mainnet"}, "created_at": 1721335131.0068734, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "seed.synthetix.arbitrum_sepolia_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/arbitrum_sepolia_tokens.csv", "original_file_path": "seeds/tokens/arbitrum_sepolia_tokens.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_tokens", "fqn": ["synthetix", "tokens", "arbitrum_sepolia_tokens"], "alias": "arbitrum_sepolia_tokens", "checksum": {"name": "sha256", "checksum": "6b4346bb29f7267b9e48644be4eab89382476b43f6cca3f164ab90c0581e1aa7"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.6648247, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_mainnet_tokens.csv", "original_file_path": "seeds/tokens/base_mainnet_tokens.csv", "unique_id": "seed.synthetix.base_mainnet_tokens", "fqn": ["synthetix", "tokens", "base_mainnet_tokens"], "alias": "base_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "5c5d60b0bb7dfd7aa09b4956ca2c48b92dcf18195bc8c5bf5060a17e15710909"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.6655803, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_sepolia_tokens.csv", "original_file_path": "seeds/tokens/base_sepolia_tokens.csv", "unique_id": "seed.synthetix.base_sepolia_tokens", "fqn": ["synthetix", "tokens", "base_sepolia_tokens"], "alias": "base_sepolia_tokens", "checksum": {"name": "sha256", "checksum": "6d857d226ef3dcdb580890560110248fa4b99151125bf3dabf4492fe4c3540b9"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.6663024, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/arbitrum_mainnet_tokens.csv", "original_file_path": "seeds/tokens/arbitrum_mainnet_tokens.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_tokens", "fqn": ["synthetix", "tokens", "arbitrum_mainnet_tokens"], "alias": "arbitrum_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "ee1a57b4c41ce84d5924a8b99a59466a85b74dcc4c79bc54efc8b71e6877e716"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.664081, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/arbitrum_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/arbitrum_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "arbitrum_sepolia_reward_distributors"], "alias": "arbitrum_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.661136, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/arbitrum_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/arbitrum_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "arbitrum_mainnet_reward_distributors"], "alias": "arbitrum_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "4b3b2370f2e64a8c44d93cc2c5657881631de23e2c69d026ec930cddb725a5f1"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.6600718, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.base_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_sepolia_reward_distributors"], "alias": "base_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.662824, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_mainnet_reward_distributors"], "alias": "base_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "68808ecde9adc18c4f86959c5283b4f556da3aa7f204b4aef821f654d1119b23"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1721335129.6620185, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "fqn": ["synthetix", "not_null_arbitrum_mainnet_reward_distributors_distributor_address"], "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1"}, "created_at": 1721335129.7788262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1\") }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.arbitrum_mainnet_reward_distributors", "attached_node": "seed.synthetix.arbitrum_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "fqn": ["synthetix", "not_null_arbitrum_mainnet_reward_distributors_token_symbol"], "alias": "not_null_arbitrum_mainnet_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7813435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_mainnet_reward_distributors", "attached_node": "seed.synthetix.arbitrum_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "fqn": ["synthetix", "not_null_arbitrum_sepolia_reward_distributors_distributor_address"], "alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f"}, "created_at": 1721335129.7833645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f\") }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.arbitrum_sepolia_reward_distributors", "attached_node": "seed.synthetix.arbitrum_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "fqn": ["synthetix", "not_null_arbitrum_sepolia_reward_distributors_token_symbol"], "alias": "not_null_arbitrum_sepolia_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7850647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_sepolia_reward_distributors", "attached_node": "seed.synthetix.arbitrum_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_reward_distributors_distributor_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "fqn": ["synthetix", "not_null_base_mainnet_reward_distributors_distributor_address"], "alias": "not_null_base_mainnet_reward_distributors_distributor_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7869887, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.base_mainnet_reward_distributors", "attached_node": "seed.synthetix.base_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('base_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "fqn": ["synthetix", "not_null_base_mainnet_reward_distributors_token_symbol"], "alias": "not_null_base_mainnet_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7886252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_mainnet_reward_distributors", "attached_node": "seed.synthetix.base_mainnet_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_mainnet_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_reward_distributors_distributor_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "fqn": ["synthetix", "not_null_base_sepolia_reward_distributors_distributor_address"], "alias": "not_null_base_sepolia_reward_distributors_distributor_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7902777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor_address", "file_key_name": "seeds.base_sepolia_reward_distributors", "attached_node": "seed.synthetix.base_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor_address", "model": "{{ get_where_subquery(ref('base_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_reward_distributors_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_reward_distributors_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "fqn": ["synthetix", "not_null_base_sepolia_reward_distributors_token_symbol"], "alias": "not_null_base_sepolia_reward_distributors_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7918746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_sepolia_reward_distributors", "attached_node": "seed.synthetix.base_sepolia_reward_distributors", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_sepolia_reward_distributors')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "fqn": ["synthetix", "not_null_arbitrum_mainnet_tokens_token_address"], "alias": "not_null_arbitrum_mainnet_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7934842, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.arbitrum_mainnet_tokens", "attached_node": "seed.synthetix.arbitrum_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "fqn": ["synthetix", "not_null_arbitrum_mainnet_tokens_token_symbol"], "alias": "not_null_arbitrum_mainnet_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7951865, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_mainnet_tokens", "attached_node": "seed.synthetix.arbitrum_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "fqn": ["synthetix", "not_null_arbitrum_sepolia_tokens_token_address"], "alias": "not_null_arbitrum_sepolia_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7967627, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.arbitrum_sepolia_tokens", "attached_node": "seed.synthetix.arbitrum_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_sepolia_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_sepolia_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "fqn": ["synthetix", "not_null_arbitrum_sepolia_tokens_token_symbol"], "alias": "not_null_arbitrum_sepolia_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.7983682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "arbitrum_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.arbitrum_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.arbitrum_sepolia_tokens", "attached_node": "seed.synthetix.arbitrum_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('arbitrum_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "fqn": ["synthetix", "not_null_base_mainnet_tokens_token_address"], "alias": "not_null_base_mainnet_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.799943, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.base_mainnet_tokens", "attached_node": "seed.synthetix.base_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('base_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_mainnet_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_mainnet_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "fqn": ["synthetix", "not_null_base_mainnet_tokens_token_symbol"], "alias": "not_null_base_mainnet_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.8037632, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_mainnet_tokens", "attached_node": "seed.synthetix.base_mainnet_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_mainnet_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_tokens_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_tokens_token_address.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "fqn": ["synthetix", "not_null_base_sepolia_tokens_token_address"], "alias": "not_null_base_sepolia_tokens_token_address", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.8053696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_address", "file_key_name": "seeds.base_sepolia_tokens", "attached_node": "seed.synthetix.base_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('base_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_base_sepolia_tokens_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_base_sepolia_tokens_token_symbol.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "fqn": ["synthetix", "not_null_base_sepolia_tokens_token_symbol"], "alias": "not_null_base_sepolia_tokens_token_symbol", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335129.8070257, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "base_sepolia_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["seed.synthetix.base_sepolia_tokens"]}, "compiled_path": "target/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_symbol", "file_key_name": "seeds.base_sepolia_tokens", "attached_node": "seed.synthetix.base_sepolia_tokens", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('base_sepolia_tokens')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "not_null_blocks_arbitrum_sepolia_block_number"], "alias": "not_null_blocks_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5432775, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "unique_blocks_arbitrum_sepolia_block_number"], "alias": "unique_blocks_arbitrum_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5451589, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_id"], "alias": "not_null_core_account_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5659053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_account_created_arbitrum_sepolia_id"], "alias": "unique_core_account_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.567681, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5693836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_delegation_updated_arbitrum_sepolia_id"], "alias": "unique_core_delegation_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5710034, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_id"], "alias": "not_null_core_deposited_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.572601, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_deposited_arbitrum_sepolia_id"], "alias": "unique_core_deposited_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5743275, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_id"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5759277, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_withdrawn_arbitrum_sepolia_id"], "alias": "unique_core_withdrawn_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5775526, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5791504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_liquidation_arbitrum_sepolia_id"], "alias": "unique_core_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.580737, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_id"], "alias": "not_null_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5832162, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_updated_arbitrum_sepolia_id"], "alias": "unique_core_market_updated_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5848303, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_id"], "alias": "not_null_core_market_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5864673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_registered_arbitrum_sepolia_id"], "alias": "unique_core_market_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5880783, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_id"], "alias": "not_null_core_pool_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.589824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_pool_created_arbitrum_sepolia_id"], "alias": "unique_core_pool_created_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5914075, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5929835, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_rewards_claimed_arbitrum_sepolia_id"], "alias": "unique_core_rewards_claimed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.594705, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_id"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5963264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_rewards_distributed_arbitrum_sepolia_id"], "alias": "unique_core_rewards_distributed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.5980594, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.599678, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_usd_burned_arbitrum_sepolia_id"], "alias": "unique_core_usd_burned_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6012874, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.602891, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_usd_minted_arbitrum_sepolia_id"], "alias": "unique_core_usd_minted_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.604581, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_id"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6062167, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_vault_liquidation_arbitrum_sepolia_id"], "alias": "unique_core_vault_liquidation_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6078093, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_id"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6224344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_committed_arbitrum_sepolia_id"], "alias": "unique_spot_order_committed_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6241627, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_id"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.625937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_settled_arbitrum_sepolia_id"], "alias": "unique_spot_order_settled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6275594, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_id"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6292036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_order_cancelled_arbitrum_sepolia_id"], "alias": "unique_spot_order_cancelled_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6308131, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.632511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_registered_arbitrum_sepolia_id"], "alias": "unique_spot_synth_registered_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6341307, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6357274, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_bought_arbitrum_sepolia_id"], "alias": "unique_spot_synth_bought_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6373472, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6389656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_sold_arbitrum_sepolia_id"], "alias": "unique_spot_synth_sold_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6406426, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6422608, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_wrapped_arbitrum_sepolia_id"], "alias": "unique_spot_synth_wrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6438434, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6454458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "unique_spot_synth_unwrapped_arbitrum_sepolia_id"], "alias": "unique_spot_synth_unwrapped_arbitrum_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6471398, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "not_null_blocks_arbitrum_mainnet_block_number"], "alias": "not_null_blocks_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6499345, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "unique_blocks_arbitrum_mainnet_block_number"], "alias": "unique_blocks_arbitrum_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6515765, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_id"], "alias": "not_null_core_account_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6704571, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_account_created_arbitrum_mainnet_id"], "alias": "unique_core_account_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6722193, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6739113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_delegation_updated_arbitrum_mainnet_id"], "alias": "unique_core_delegation_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.675637, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_id"], "alias": "not_null_core_deposited_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6772778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_deposited_arbitrum_mainnet_id"], "alias": "unique_core_deposited_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6788907, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_id"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6805208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_withdrawn_arbitrum_mainnet_id"], "alias": "unique_core_withdrawn_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6821387, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6838517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_liquidation_arbitrum_mainnet_id"], "alias": "unique_core_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6854544, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_id"], "alias": "not_null_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6870484, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_updated_arbitrum_mainnet_id"], "alias": "unique_core_market_updated_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6886315, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_id"], "alias": "not_null_core_market_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6903455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_registered_arbitrum_mainnet_id"], "alias": "unique_core_market_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6919272, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_id"], "alias": "not_null_core_pool_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6935534, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_pool_created_arbitrum_mainnet_id"], "alias": "unique_core_pool_created_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6951573, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6967473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_rewards_claimed_arbitrum_mainnet_id"], "alias": "unique_core_rewards_claimed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.6984856, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_id"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.700077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_rewards_distributed_arbitrum_mainnet_id"], "alias": "unique_core_rewards_distributed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.701687, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7033231, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_usd_burned_arbitrum_mainnet_id"], "alias": "unique_core_usd_burned_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.705173, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7068238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_usd_minted_arbitrum_mainnet_id"], "alias": "unique_core_usd_minted_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7084398, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_id"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7100966, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_vault_liquidation_arbitrum_mainnet_id"], "alias": "unique_core_vault_liquidation_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.711718, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_id"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7237413, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_committed_arbitrum_mainnet_id"], "alias": "unique_spot_order_committed_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7255037, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_id"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7271135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_settled_arbitrum_mainnet_id"], "alias": "unique_spot_order_settled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7287335, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_id"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7305305, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_order_cancelled_arbitrum_mainnet_id"], "alias": "unique_spot_order_cancelled_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7321498, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7338004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_registered_arbitrum_mainnet_id"], "alias": "unique_spot_synth_registered_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7354136, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.737132, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_bought_arbitrum_mainnet_id"], "alias": "unique_spot_synth_bought_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7387292, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7403288, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_sold_arbitrum_mainnet_id"], "alias": "unique_spot_synth_sold_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7419481, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.743554, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_wrapped_arbitrum_mainnet_id"], "alias": "unique_spot_synth_wrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7456381, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7472498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "unique_spot_synth_unwrapped_arbitrum_mainnet_id"], "alias": "unique_spot_synth_unwrapped_arbitrum_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7488499, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "fqn": ["synthetix", "raw", "base", "sepolia", "not_null_blocks_base_sepolia_block_number"], "alias": "not_null_blocks_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7516077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "fqn": ["synthetix", "raw", "base", "sepolia", "unique_blocks_base_sepolia_block_number"], "alias": "unique_blocks_base_sepolia_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7532954, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_account_created_base_sepolia_id"], "alias": "unique_perp_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.77224, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_id"], "alias": "not_null_perp_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.773991, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_id"], "alias": "not_null_perp_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.775653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_order_committed_base_sepolia_id"], "alias": "unique_perp_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.777412, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_id"], "alias": "not_null_perp_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7790682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_order_settled_base_sepolia_id"], "alias": "unique_perp_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7806585, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_id"], "alias": "not_null_perp_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7822974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_market_updated_base_sepolia_id"], "alias": "unique_perp_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7839038, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7856374, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_position_liquidated_base_sepolia_id"], "alias": "unique_perp_position_liquidated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7872329, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_id"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7888267, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_account_liquidation_attempt_base_sepolia_id"], "alias": "unique_perp_account_liquidation_attempt_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7904663, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7920766, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_collateral_modified_base_sepolia_id"], "alias": "unique_perp_collateral_modified_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7938116, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7954044, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_previous_order_expired_base_sepolia_id"], "alias": "unique_perp_previous_order_expired_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.7969882, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_id"], "alias": "not_null_core_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8157744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_account_created_base_sepolia_id"], "alias": "unique_core_account_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8176086, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_id"], "alias": "not_null_core_delegation_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8192744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_delegation_updated_base_sepolia_id"], "alias": "unique_core_delegation_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8209038, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_id"], "alias": "not_null_core_deposited_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8225596, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_deposited_base_sepolia_id"], "alias": "unique_core_deposited_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.824165, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_id"], "alias": "not_null_core_withdrawn_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8263862, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_withdrawn_base_sepolia_id"], "alias": "unique_core_withdrawn_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.82801, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_id"], "alias": "not_null_core_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8296568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_liquidation_base_sepolia_id"], "alias": "unique_core_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8312602, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_id"], "alias": "not_null_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8329828, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_updated_base_sepolia_id"], "alias": "unique_core_market_updated_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.834662, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_id"], "alias": "not_null_core_market_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.836264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_registered_base_sepolia_id"], "alias": "unique_core_market_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8378859, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_id"], "alias": "not_null_core_pool_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8395212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_pool_created_base_sepolia_id"], "alias": "unique_core_pool_created_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8412507, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8428624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_rewards_claimed_base_sepolia_id"], "alias": "unique_core_rewards_claimed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8444514, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_id"], "alias": "not_null_core_rewards_distributed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8460946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_rewards_distributed_base_sepolia_id"], "alias": "unique_core_rewards_distributed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8478243, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_id"], "alias": "not_null_core_usd_burned_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8495476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_usd_burned_base_sepolia_id"], "alias": "unique_core_usd_burned_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8511798, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_id"], "alias": "not_null_core_usd_minted_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8527954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_usd_minted_base_sepolia_id"], "alias": "unique_core_usd_minted_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8544588, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_id"], "alias": "not_null_core_vault_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8561609, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_vault_liquidation_base_sepolia_id"], "alias": "unique_core_vault_liquidation_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8578136, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_id"], "alias": "not_null_spot_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8696659, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_committed_base_sepolia_id"], "alias": "unique_spot_order_committed_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.871369, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_id"], "alias": "not_null_spot_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8729897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_settled_base_sepolia_id"], "alias": "unique_spot_order_settled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.874643, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_id"], "alias": "not_null_spot_order_cancelled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.876353, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_order_cancelled_base_sepolia_id"], "alias": "unique_spot_order_cancelled_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8779721, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_id"], "alias": "not_null_spot_synth_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8795917, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_registered_base_sepolia_id"], "alias": "unique_spot_synth_registered_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8812222, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_id"], "alias": "not_null_spot_synth_bought_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8829322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_bought_base_sepolia_id"], "alias": "unique_spot_synth_bought_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8845186, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_id"], "alias": "not_null_spot_synth_sold_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8861918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_sold_base_sepolia_id"], "alias": "unique_spot_synth_sold_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.887799, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_id"], "alias": "not_null_spot_synth_wrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.88945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_wrapped_base_sepolia_id"], "alias": "unique_spot_synth_wrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8911533, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_id"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.892742, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "unique_spot_synth_unwrapped_base_sepolia_id"], "alias": "unique_spot_synth_unwrapped_base_sepolia_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8943553, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "fqn": ["synthetix", "raw", "base", "mainnet", "not_null_blocks_base_mainnet_block_number"], "alias": "not_null_blocks_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.897231, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "fqn": ["synthetix", "raw", "base", "mainnet", "unique_blocks_base_mainnet_block_number"], "alias": "unique_blocks_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.8988843, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_number", "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_account_created_base_mainnet_id"], "alias": "unique_perp_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9147775, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_id"], "alias": "not_null_perp_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9165218, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_id"], "alias": "not_null_perp_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9182932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_order_committed_base_mainnet_id"], "alias": "unique_perp_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.919931, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_id"], "alias": "not_null_perp_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.921614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_order_settled_base_mainnet_id"], "alias": "unique_perp_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9232392, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_id"], "alias": "not_null_perp_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9249516, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_market_updated_base_mainnet_id"], "alias": "unique_perp_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9265966, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9281967, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_position_liquidated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_position_liquidated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_position_liquidated_base_mainnet_id"], "alias": "unique_perp_position_liquidated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9298325, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_position_liquidated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_id"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9314475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_account_liquidation_attempt_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_account_liquidation_attempt_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_account_liquidation_attempt_base_mainnet_id"], "alias": "unique_perp_account_liquidation_attempt_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9331946, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9348102, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_collateral_modified_base_mainnet_id"], "alias": "unique_perp_collateral_modified_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.936403, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.938059, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_previous_order_expired_base_mainnet_id"], "alias": "unique_perp_previous_order_expired_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9397774, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_id"], "alias": "not_null_core_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9586444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_account_created_base_mainnet_id"], "alias": "unique_core_account_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9604979, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_id"], "alias": "not_null_core_delegation_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.962227, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_delegation_updated_base_mainnet_id"], "alias": "unique_core_delegation_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9638684, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_id"], "alias": "not_null_core_deposited_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9655397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_deposited_base_mainnet_id"], "alias": "unique_core_deposited_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9671881, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_id"], "alias": "not_null_core_withdrawn_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9689188, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_withdrawn_base_mainnet_id"], "alias": "unique_core_withdrawn_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9707406, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_id"], "alias": "not_null_core_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9723632, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_liquidation_base_mainnet_id"], "alias": "unique_core_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.973986, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_id"], "alias": "not_null_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.975754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_updated_base_mainnet_id"], "alias": "unique_core_market_updated_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9774241, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_id"], "alias": "not_null_core_market_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9790606, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_registered_base_mainnet_id"], "alias": "unique_core_market_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9807298, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_id"], "alias": "not_null_core_pool_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9823875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_pool_created_base_mainnet_id"], "alias": "unique_core_pool_created_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9841738, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9858074, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_rewards_claimed_base_mainnet_id"], "alias": "unique_core_rewards_claimed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9874067, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_id"], "alias": "not_null_core_rewards_distributed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9890187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_rewards_distributed_base_mainnet_id"], "alias": "unique_core_rewards_distributed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.991119, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_id"], "alias": "not_null_core_usd_burned_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9927108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_usd_burned_base_mainnet_id"], "alias": "unique_core_usd_burned_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9943385, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_id"], "alias": "not_null_core_usd_minted_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9959395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_usd_minted_base_mainnet_id"], "alias": "unique_core_usd_minted_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9975498, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_id"], "alias": "not_null_core_vault_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335130.9992514, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_vault_liquidation_base_mainnet_id"], "alias": "unique_core_vault_liquidation_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0008545, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_id"], "alias": "not_null_spot_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0125139, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_committed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_committed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_committed_base_mainnet_id"], "alias": "unique_spot_order_committed_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0142486, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_committed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_id"], "alias": "not_null_spot_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0158904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_settled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_settled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_settled_base_mainnet_id"], "alias": "unique_spot_order_settled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0175133, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_settled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_id"], "alias": "not_null_spot_order_cancelled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0192206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_order_cancelled_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_order_cancelled_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_order_cancelled_base_mainnet_id"], "alias": "unique_spot_order_cancelled_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0208085, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_order_cancelled_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_id"], "alias": "not_null_spot_synth_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.022421, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_registered_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_registered_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_registered_base_mainnet_id"], "alias": "unique_spot_synth_registered_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0239851, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_registered_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_id"], "alias": "not_null_spot_synth_bought_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0256991, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_bought_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_bought_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_bought_base_mainnet_id"], "alias": "unique_spot_synth_bought_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0273008, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_bought_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_id"], "alias": "not_null_spot_synth_sold_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0288653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_sold_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_sold_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_sold_base_mainnet_id"], "alias": "unique_spot_synth_sold_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0304651, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_sold_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_id"], "alias": "not_null_spot_synth_wrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0320475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_wrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_wrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_wrapped_base_mainnet_id"], "alias": "unique_spot_synth_wrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0337474, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_wrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_id"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.035331, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_spot_synth_unwrapped_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_spot_synth_unwrapped_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "unique_spot_synth_unwrapped_base_mainnet_id"], "alias": "unique_spot_synth_unwrapped_base_mainnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1721335131.0368998, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}}, "sources": {"source.synthetix.raw_base_sepolia.block": {"database": "analytics", "schema": "raw_base_sepolia", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.block", "fqn": ["synthetix", "raw", "raw_base_sepolia", "block"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"block\"", "created_at": 1721335131.0624468}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_account_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"", "created_at": 1721335131.063981}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_liquidation_attempt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1721335131.064168}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_collateral_modified", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_collateral_modified", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1721335131.0643387}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_market_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"", "created_at": 1721335131.0645049}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_market_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"", "created_at": 1721335131.0646691}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1721335131.0648315}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"", "created_at": 1721335131.0649924}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1721335131.0651877}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_order_settled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"", "created_at": 1721335131.0653498}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_position_liquidated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_position_liquidated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1721335131.065508}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_previous_order_expired", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1721335131.065667}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_rate_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1721335131.0658236}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_charged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_base_sepolia", "perps_market_proxy_event_interest_charged"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_charged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1721335131.0659842}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_committed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1721335131.066146}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_settled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1721335131.0663083}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1721335131.0664687}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_registered"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1721335131.0666258}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_bought"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1721335131.0667787}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_sold"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1721335131.066932}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1721335131.067131}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_base_sepolia", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1721335131.0673358}, "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_account_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1721335131.0674975}, "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_delegation_updated"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1721335131.067656}, "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1721335131.0678208}, "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1721335131.0679822}, "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_liquidation"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1721335131.0681398}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_registered"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1721335131.0682964}, "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_pool_created"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1721335131.0684595}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_rewards_claimed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1721335131.0686162}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_rewards_distributed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1721335131.0687728}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_usd_burned"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1721335131.068926}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_usd_minted"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1721335131.0691016}, "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_vault_liquidation"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1721335131.0693665}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1721335131.0695305}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1721335131.0696886}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_usd_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1721335131.0698447}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1721335131.0700004}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_legacy_event_market_usd_deposited"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"", "created_at": 1721335131.0701556}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_proxy_legacy_event_market_usd_withdrawn"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"", "created_at": 1721335131.0703106}, "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": {"database": "analytics", "schema": "raw_base_sepolia", "name": "buyback_snx_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_sepolia", "buyback_snx_event_buyback_processed"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "buyback_snx_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"", "created_at": 1721335131.0704696}, "source.synthetix.raw_base_sepolia.core_get_vault_collateral": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_get_vault_collateral"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"", "created_at": 1721335131.0706234}, "source.synthetix.raw_base_sepolia.core_get_vault_debt": {"database": "analytics", "schema": "raw_base_sepolia", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_base_sepolia", "core_get_vault_debt"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"", "created_at": 1721335131.0707848}, "source.synthetix.raw_base_sepolia.blocks_parquet": {"database": "analytics", "schema": "raw_base_sepolia", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_sepolia.blocks_parquet", "fqn": ["synthetix", "raw", "raw_base_sepolia", "blocks_parquet"], "source_name": "raw_base_sepolia", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"", "created_at": 1721335131.0709426}, "source.synthetix.raw_arbitrum_sepolia.block": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.block", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "block"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"block\"", "created_at": 1721335131.071098}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"", "created_at": 1721335131.0712492}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"", "created_at": 1721335131.071403}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1721335131.071556}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_registered"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1721335131.0717096}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_bought"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1721335131.071871}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_sold"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1721335131.0720272}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1721335131.072182}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1721335131.0723367}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_account_created"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"", "created_at": 1721335131.072491}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_delegation_updated"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"", "created_at": 1721335131.0726485}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"", "created_at": 1721335131.0728085}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"", "created_at": 1721335131.072979}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_liquidation"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"", "created_at": 1721335131.0731642}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_registered"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"", "created_at": 1721335131.0733285}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_pool_created"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"", "created_at": 1721335131.0734823}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_rewards_claimed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_claimed\"", "created_at": 1721335131.0736363}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_rewards_distributed"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"", "created_at": 1721335131.0737884}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_usd_burned"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"", "created_at": 1721335131.0739403}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_usd_minted"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"", "created_at": 1721335131.0741003}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_vault_liquidation"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"", "created_at": 1721335131.074255}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1721335131.074408}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1721335131.07456}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_usd_deposited"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1721335131.0747113}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1721335131.0748608}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_get_vault_collateral"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"", "created_at": 1721335131.0750124}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "core_get_vault_debt"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"", "created_at": 1721335131.0751636}, "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": {"database": "analytics", "schema": "raw_arbitrum_sepolia", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "fqn": ["synthetix", "raw", "raw_arbitrum_sepolia", "blocks_parquet"], "source_name": "raw_arbitrum_sepolia", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"", "created_at": 1721335131.0753152}, "source.synthetix.raw_arbitrum_mainnet.block": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.block", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "block"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"block\"", "created_at": 1721335131.0754666}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1721335131.0756173}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1721335131.075797}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1721335131.075956}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1721335131.07611}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1721335131.0762596}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1721335131.0764098}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1721335131.0765607}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1721335131.076715}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_account_created"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1721335131.0768716}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1721335131.07704}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1721335131.077347}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1721335131.0776167}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1721335131.077875}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1721335131.0780616}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1721335131.078231}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1721335131.078394}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1721335131.078552}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1721335131.0787094}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1721335131.0788696}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1721335131.0790253}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1721335131.0791807}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1721335131.0793374}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1721335131.0794916}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1721335131.0796468}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_get_vault_collateral"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"", "created_at": 1721335131.0798016}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "core_get_vault_debt"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"", "created_at": 1721335131.0799549}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_arbitrum_mainnet", "blocks_parquet"], "source_name": "raw_arbitrum_mainnet", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"", "created_at": 1721335131.08011}, "source.synthetix.raw_base_mainnet.block": {"database": "analytics", "schema": "raw_base_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.block", "fqn": ["synthetix", "raw", "raw_base_mainnet", "block"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"block\"", "created_at": 1721335131.080267}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_account_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"", "created_at": 1721335131.0804198}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_account_liquidation_attempt"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_account_liquidation_attempt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"", "created_at": 1721335131.0805748}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_collateral_modified", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_collateral_modified"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_collateral_modified", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"", "created_at": 1721335131.0807295}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_market_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"", "created_at": 1721335131.0808797}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_market_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"", "created_at": 1721335131.081032}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_market_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_legacy_event_market_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_market_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"", "created_at": 1721335131.0812461}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"", "created_at": 1721335131.0814085}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_legacy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_legacy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"", "created_at": 1721335131.0815635}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_order_settled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"", "created_at": 1721335131.0817175}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_position_liquidated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_position_liquidated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_position_liquidated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"", "created_at": 1721335131.0818696}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_previous_order_expired"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_previous_order_expired", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"", "created_at": 1721335131.0820227}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_rate_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_interest_rate_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_rate_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"", "created_at": 1721335131.0821736}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": {"database": "analytics", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_charged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "fqn": ["synthetix", "raw", "raw_base_mainnet", "perps_market_proxy_event_interest_charged"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "perps_market_proxy_event_interest_charged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"", "created_at": 1721335131.0823255}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1721335131.0824766}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1721335131.082652}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1721335131.0828073}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1721335131.0829616}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1721335131.0831165}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1721335131.08327}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1721335131.0834224}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_base_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1721335131.0835736}, "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_account_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1721335131.0837245}, "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1721335131.0838757}, "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1721335131.084024}, "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1721335131.0841732}, "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1721335131.0843318}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1721335131.084485}, "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1721335131.0846343}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1721335131.0847847}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1721335131.084938}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1721335131.0851119}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1721335131.0852673}, "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1721335131.0854185}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1721335131.0855742}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1721335131.0857246}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1721335131.085875}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1721335131.086027}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_legacy_event_market_usd_deposited"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"", "created_at": 1721335131.0861819}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_proxy_legacy_event_market_usd_withdrawn"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_legacy_event_market_usd_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"", "created_at": 1721335131.086367}, "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "buyback_snx_legacy_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "buyback_snx_legacy_event_buyback_processed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "buyback_snx_legacy_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"", "created_at": 1721335131.0865242}, "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": {"database": "analytics", "schema": "raw_base_mainnet", "name": "buyback_snx_event_buyback_processed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "fqn": ["synthetix", "raw", "raw_base_mainnet", "buyback_snx_event_buyback_processed"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "buyback_snx_event_buyback_processed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"", "created_at": 1721335131.0866797}, "source.synthetix.raw_base_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_get_vault_collateral", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_get_vault_collateral"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_collateral", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"", "created_at": 1721335131.0868306}, "source.synthetix.raw_base_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_base_mainnet", "name": "core_get_vault_debt", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_base_mainnet", "core_get_vault_debt"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "core_get_vault_debt", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"", "created_at": 1721335131.0869825}, "source.synthetix.raw_base_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_base_mainnet", "name": "blocks_parquet", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_base_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_base_mainnet", "blocks_parquet"], "source_name": "raw_base_mainnet", "source_description": "", "loader": "", "identifier": "blocks_parquet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"", "created_at": 1721335131.0871358}, "source.synthetix.raw_optimism_mainnet.block": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "block", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.block", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "block"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "block", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"block\"", "created_at": 1721335131.0872972}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_committed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_committed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_committed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_committed\"", "created_at": 1721335131.0874937}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_settled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_settled"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_settled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_settled\"", "created_at": 1721335131.0876493}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_cancelled", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_order_cancelled"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_order_cancelled", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_order_cancelled\"", "created_at": 1721335131.087827}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_registered"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_registered\"", "created_at": 1721335131.088153}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_bought", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_bought"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_bought", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_bought\"", "created_at": 1721335131.0883152}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_sold", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_sold"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_sold", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_sold\"", "created_at": 1721335131.0885098}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_wrapped"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_wrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_wrapped\"", "created_at": 1721335131.088674}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "spot_market_proxy_event_synth_unwrapped"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "spot_market_proxy_event_synth_unwrapped", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"", "created_at": 1721335131.0888264}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_account_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_account_created"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_account_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1721335131.0889778}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_delegation_updated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_delegation_updated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1721335131.089153}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_deposited"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1721335131.0893326}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1721335131.0894892}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1721335131.0896394}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_registered", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_registered", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1721335131.0897896}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_pool_created", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_pool_created", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1721335131.0899403}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_claimed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_claimed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1721335131.090092}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_distributed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_rewards_distributed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1721335131.0902448}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_burned", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_burned", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1721335131.0903995}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_minted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_usd_minted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1721335131.090554}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_vault_liquidation", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_vault_liquidation", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1721335131.090708}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_deposited", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_deposited", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1721335131.0908618}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "core_proxy_event_market_collateral_withdrawn", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1721335131.091014}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_delayed_order_removed\"", "created_at": 1721335131.0911682}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_delayed_order_submitted\"", "created_at": 1721335131.0913239}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_funding_recomputed\"", "created_at": 1721335131.0914793}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_margin_transferred\"", "created_at": 1721335131.0916383}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_perps_tracking\"", "created_at": 1721335131.0917912}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_flagged\"", "created_at": 1721335131.0919437}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_liquidated0\"", "created_at": 1721335131.0920951}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_liquidated1\"", "created_at": 1721335131.0922465}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_modified0\"", "created_at": 1721335131.092398}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v21_inch_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v21_inch_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v21_inch_event_position_modified1\"", "created_at": 1721335131.0925512}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_delayed_order_removed\"", "created_at": 1721335131.0927014}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_delayed_order_submitted\"", "created_at": 1721335131.092851}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_funding_recomputed\"", "created_at": 1721335131.0930004}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_margin_transferred\"", "created_at": 1721335131.0931728}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_perps_tracking\"", "created_at": 1721335131.0933254}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_flagged\"", "created_at": 1721335131.0934765}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_liquidated0\"", "created_at": 1721335131.093631}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_liquidated1\"", "created_at": 1721335131.0937831}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_modified0\"", "created_at": 1721335131.0939338}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aave_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aave_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aave_event_position_modified1\"", "created_at": 1721335131.0940855}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_delayed_order_removed\"", "created_at": 1721335131.0942369}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_delayed_order_submitted\"", "created_at": 1721335131.0943882}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_funding_recomputed\"", "created_at": 1721335131.0945382}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_margin_transferred\"", "created_at": 1721335131.0946882}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_perps_tracking\"", "created_at": 1721335131.0948377}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_flagged\"", "created_at": 1721335131.0949872}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_liquidated0\"", "created_at": 1721335131.0951385}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_liquidated1\"", "created_at": 1721335131.095356}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_modified0\"", "created_at": 1721335131.0955508}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ada_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ada_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ada_event_position_modified1\"", "created_at": 1721335131.0957365}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_delayed_order_removed\"", "created_at": 1721335131.0958931}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_delayed_order_submitted\"", "created_at": 1721335131.0960453}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_funding_recomputed\"", "created_at": 1721335131.096195}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_margin_transferred\"", "created_at": 1721335131.0963469}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_perps_tracking\"", "created_at": 1721335131.0964973}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_flagged\"", "created_at": 1721335131.0966477}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_liquidated0\"", "created_at": 1721335131.096799}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_liquidated1\"", "created_at": 1721335131.0969486}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_modified0\"", "created_at": 1721335131.0971212}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_algo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_algo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_algo_event_position_modified1\"", "created_at": 1721335131.0972831}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_delayed_order_removed\"", "created_at": 1721335131.0974379}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_delayed_order_submitted\"", "created_at": 1721335131.0975883}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_funding_recomputed\"", "created_at": 1721335131.097737}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_margin_transferred\"", "created_at": 1721335131.0978868}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_perps_tracking\"", "created_at": 1721335131.098035}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_flagged\"", "created_at": 1721335131.0981865}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_liquidated0\"", "created_at": 1721335131.098336}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_liquidated1\"", "created_at": 1721335131.0984929}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_modified0\"", "created_at": 1721335131.0986423}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ankr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ankr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ankr_event_position_modified1\"", "created_at": 1721335131.0987914}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_delayed_order_removed\"", "created_at": 1721335131.0989413}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_delayed_order_submitted\"", "created_at": 1721335131.0990899}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_funding_recomputed\"", "created_at": 1721335131.0992382}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_margin_transferred\"", "created_at": 1721335131.099387}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_perps_tracking\"", "created_at": 1721335131.0995378}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_flagged\"", "created_at": 1721335131.099686}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_liquidated0\"", "created_at": 1721335131.0998333}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_liquidated1\"", "created_at": 1721335131.0999818}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_modified0\"", "created_at": 1721335131.1001298}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ape_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ape_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ape_event_position_modified1\"", "created_at": 1721335131.1002772}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_delayed_order_removed\"", "created_at": 1721335131.1004248}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_delayed_order_submitted\"", "created_at": 1721335131.1005735}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_funding_recomputed\"", "created_at": 1721335131.1007223}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_margin_transferred\"", "created_at": 1721335131.1008701}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_perps_tracking\"", "created_at": 1721335131.1010194}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_flagged\"", "created_at": 1721335131.1011925}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_liquidated0\"", "created_at": 1721335131.1013446}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_liquidated1\"", "created_at": 1721335131.101495}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_modified0\"", "created_at": 1721335131.1016438}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_apt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_apt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_apt_event_position_modified1\"", "created_at": 1721335131.1017926}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_delayed_order_removed\"", "created_at": 1721335131.1019616}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_delayed_order_submitted\"", "created_at": 1721335131.1021106}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_funding_recomputed\"", "created_at": 1721335131.1022618}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_margin_transferred\"", "created_at": 1721335131.102411}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_perps_tracking\"", "created_at": 1721335131.1025603}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_flagged\"", "created_at": 1721335131.1027095}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_liquidated0\"", "created_at": 1721335131.1028578}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_liquidated1\"", "created_at": 1721335131.103009}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_modified0\"", "created_at": 1721335131.1031592}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_arb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_arb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_arb_event_position_modified1\"", "created_at": 1721335131.1033082}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_delayed_order_removed\"", "created_at": 1721335131.103456}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_delayed_order_submitted\"", "created_at": 1721335131.1036043}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_funding_recomputed\"", "created_at": 1721335131.1037529}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_margin_transferred\"", "created_at": 1721335131.1039011}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_perps_tracking\"", "created_at": 1721335131.1040497}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_flagged\"", "created_at": 1721335131.1041994}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_liquidated0\"", "created_at": 1721335131.1043484}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_liquidated1\"", "created_at": 1721335131.1044972}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_modified0\"", "created_at": 1721335131.104647}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_atom_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_atom_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_atom_event_position_modified1\"", "created_at": 1721335131.104797}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_delayed_order_removed\"", "created_at": 1721335131.1049464}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_delayed_order_submitted\"", "created_at": 1721335131.1051137}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_funding_recomputed\"", "created_at": 1721335131.1052682}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_margin_transferred\"", "created_at": 1721335131.1054187}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_perps_tracking\"", "created_at": 1721335131.105567}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_flagged\"", "created_at": 1721335131.1057158}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_liquidated0\"", "created_at": 1721335131.1058652}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_liquidated1\"", "created_at": 1721335131.1060143}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_modified0\"", "created_at": 1721335131.1061628}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_aud_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_aud_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_aud_event_position_modified1\"", "created_at": 1721335131.1063108}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_delayed_order_removed\"", "created_at": 1721335131.1064596}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_delayed_order_submitted\"", "created_at": 1721335131.1066084}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_funding_recomputed\"", "created_at": 1721335131.1067567}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_margin_transferred\"", "created_at": 1721335131.1069045}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_perps_tracking\"", "created_at": 1721335131.1070538}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_flagged\"", "created_at": 1721335131.1072023}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_liquidated0\"", "created_at": 1721335131.1073518}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_liquidated1\"", "created_at": 1721335131.1075022}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_modified0\"", "created_at": 1721335131.1076505}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_avax_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_avax_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_avax_event_position_modified1\"", "created_at": 1721335131.1077988}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_delayed_order_removed\"", "created_at": 1721335131.107946}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_delayed_order_submitted\"", "created_at": 1721335131.1081178}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_funding_recomputed\"", "created_at": 1721335131.108267}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_margin_transferred\"", "created_at": 1721335131.1084204}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_perps_tracking\"", "created_at": 1721335131.1085715}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_flagged\"", "created_at": 1721335131.1087193}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_liquidated0\"", "created_at": 1721335131.1088696}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_liquidated1\"", "created_at": 1721335131.1090183}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_modified0\"", "created_at": 1721335131.1091886}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_axs_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_axs_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_axs_event_position_modified1\"", "created_at": 1721335131.109338}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_delayed_order_removed\"", "created_at": 1721335131.109487}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_delayed_order_submitted\"", "created_at": 1721335131.1096363}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_funding_recomputed\"", "created_at": 1721335131.1097863}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_margin_transferred\"", "created_at": 1721335131.1099377}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_perps_tracking\"", "created_at": 1721335131.1100872}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_flagged\"", "created_at": 1721335131.1102376}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_liquidated0\"", "created_at": 1721335131.110387}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_liquidated1\"", "created_at": 1721335131.1105359}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_modified0\"", "created_at": 1721335131.110685}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bal_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bal_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bal_event_position_modified1\"", "created_at": 1721335131.1108353}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_delayed_order_removed\"", "created_at": 1721335131.1109822}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_delayed_order_submitted\"", "created_at": 1721335131.1111295}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_funding_recomputed\"", "created_at": 1721335131.1112764}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_margin_transferred\"", "created_at": 1721335131.111425}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_perps_tracking\"", "created_at": 1721335131.1115735}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_flagged\"", "created_at": 1721335131.1117213}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_liquidated0\"", "created_at": 1721335131.1118717}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_liquidated1\"", "created_at": 1721335131.1120205}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_modified0\"", "created_at": 1721335131.1121676}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bch_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bch_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bch_event_position_modified1\"", "created_at": 1721335131.1123161}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_delayed_order_removed\"", "created_at": 1721335131.1124654}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_delayed_order_submitted\"", "created_at": 1721335131.1126132}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_funding_recomputed\"", "created_at": 1721335131.1127605}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_margin_transferred\"", "created_at": 1721335131.1129084}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_perps_tracking\"", "created_at": 1721335131.11308}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_flagged\"", "created_at": 1721335131.1132426}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_liquidated0\"", "created_at": 1721335131.1133935}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_liquidated1\"", "created_at": 1721335131.1135428}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_modified0\"", "created_at": 1721335131.1136918}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_blur_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_blur_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_blur_event_position_modified1\"", "created_at": 1721335131.1138515}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_delayed_order_removed\"", "created_at": 1721335131.1140053}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_delayed_order_submitted\"", "created_at": 1721335131.1141546}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_funding_recomputed\"", "created_at": 1721335131.1143248}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_margin_transferred\"", "created_at": 1721335131.1144726}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_perps_tracking\"", "created_at": 1721335131.1146219}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_flagged\"", "created_at": 1721335131.1147695}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_liquidated0\"", "created_at": 1721335131.114918}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_liquidated1\"", "created_at": 1721335131.115068}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_modified0\"", "created_at": 1721335131.1152167}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bnb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bnb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bnb_event_position_modified1\"", "created_at": 1721335131.1153665}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_delayed_order_removed\"", "created_at": 1721335131.1155195}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_delayed_order_submitted\"", "created_at": 1721335131.1156726}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_funding_recomputed\"", "created_at": 1721335131.1158233}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_margin_transferred\"", "created_at": 1721335131.115974}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_perps_tracking\"", "created_at": 1721335131.1161275}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_flagged\"", "created_at": 1721335131.116277}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_liquidated0\"", "created_at": 1721335131.1164262}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_liquidated1\"", "created_at": 1721335131.1165745}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_modified0\"", "created_at": 1721335131.116726}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_bonk_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_bonk_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_bonk_event_position_modified1\"", "created_at": 1721335131.116875}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_delayed_order_removed\"", "created_at": 1721335131.1170292}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_delayed_order_submitted\"", "created_at": 1721335131.117206}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_funding_recomputed\"", "created_at": 1721335131.1173573}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_margin_transferred\"", "created_at": 1721335131.1175063}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_perps_tracking\"", "created_at": 1721335131.1176646}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_flagged\"", "created_at": 1721335131.117828}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_liquidated0\"", "created_at": 1721335131.117982}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_liquidated1\"", "created_at": 1721335131.1181326}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_modified0\"", "created_at": 1721335131.118283}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_btc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_btc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_btc_event_position_modified1\"", "created_at": 1721335131.1184387}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_delayed_order_removed\"", "created_at": 1721335131.11859}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_delayed_order_submitted\"", "created_at": 1721335131.118747}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_funding_recomputed\"", "created_at": 1721335131.118899}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_margin_transferred\"", "created_at": 1721335131.1190493}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_perps_tracking\"", "created_at": 1721335131.1191978}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_flagged\"", "created_at": 1721335131.1193497}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_liquidated0\"", "created_at": 1721335131.11952}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_liquidated1\"", "created_at": 1721335131.119676}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_modified0\"", "created_at": 1721335131.1198316}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_celo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_celo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_celo_event_position_modified1\"", "created_at": 1721335131.1199975}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_delayed_order_removed\"", "created_at": 1721335131.1201577}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_delayed_order_submitted\"", "created_at": 1721335131.1203196}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_funding_recomputed\"", "created_at": 1721335131.1204839}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_margin_transferred\"", "created_at": 1721335131.1206577}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_perps_tracking\"", "created_at": 1721335131.1208086}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_flagged\"", "created_at": 1721335131.1209574}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_liquidated0\"", "created_at": 1721335131.1211274}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_liquidated1\"", "created_at": 1721335131.1212888}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_modified0\"", "created_at": 1721335131.1214468}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_comp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_comp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_comp_event_position_modified1\"", "created_at": 1721335131.1215992}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_delayed_order_removed\"", "created_at": 1721335131.1217465}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_delayed_order_submitted\"", "created_at": 1721335131.1218941}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_funding_recomputed\"", "created_at": 1721335131.1220477}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_margin_transferred\"", "created_at": 1721335131.1221979}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_perps_tracking\"", "created_at": 1721335131.1223447}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_flagged\"", "created_at": 1721335131.1224928}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_liquidated0\"", "created_at": 1721335131.1226428}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_liquidated1\"", "created_at": 1721335131.1227953}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_modified0\"", "created_at": 1721335131.1229446}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_crv_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_crv_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_crv_event_position_modified1\"", "created_at": 1721335131.1230927}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_delayed_order_removed\"", "created_at": 1721335131.1232545}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_delayed_order_submitted\"", "created_at": 1721335131.123406}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_funding_recomputed\"", "created_at": 1721335131.1235564}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_margin_transferred\"", "created_at": 1721335131.12371}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_perps_tracking\"", "created_at": 1721335131.1238627}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_flagged\"", "created_at": 1721335131.1240113}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_liquidated0\"", "created_at": 1721335131.1241605}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_liquidated1\"", "created_at": 1721335131.1243103}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_modified0\"", "created_at": 1721335131.1244636}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_doge_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_doge_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_doge_event_position_modified1\"", "created_at": 1721335131.1246116}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_delayed_order_removed\"", "created_at": 1721335131.1247587}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_delayed_order_submitted\"", "created_at": 1721335131.1249082}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_funding_recomputed\"", "created_at": 1721335131.1250744}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_margin_transferred\"", "created_at": 1721335131.1252367}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_perps_tracking\"", "created_at": 1721335131.125395}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_flagged\"", "created_at": 1721335131.125547}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_liquidated0\"", "created_at": 1721335131.1256952}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_liquidated1\"", "created_at": 1721335131.1258447}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_modified0\"", "created_at": 1721335131.125998}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dot_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dot_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dot_event_position_modified1\"", "created_at": 1721335131.1261477}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_delayed_order_removed\"", "created_at": 1721335131.1262977}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_delayed_order_submitted\"", "created_at": 1721335131.1264482}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_funding_recomputed\"", "created_at": 1721335131.1265972}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_margin_transferred\"", "created_at": 1721335131.1267457}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_perps_tracking\"", "created_at": 1721335131.1269226}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_flagged\"", "created_at": 1721335131.1270788}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_liquidated0\"", "created_at": 1721335131.1272283}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_liquidated1\"", "created_at": 1721335131.1273766}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_modified0\"", "created_at": 1721335131.1275258}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_dydx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_dydx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_dydx_event_position_modified1\"", "created_at": 1721335131.1276798}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_delayed_order_removed\"", "created_at": 1721335131.1278307}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_delayed_order_submitted\"", "created_at": 1721335131.127982}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_funding_recomputed\"", "created_at": 1721335131.1281338}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_margin_transferred\"", "created_at": 1721335131.1282873}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_perps_tracking\"", "created_at": 1721335131.1284485}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_flagged\"", "created_at": 1721335131.1286554}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_liquidated0\"", "created_at": 1721335131.1289184}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_liquidated1\"", "created_at": 1721335131.129191}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_modified0\"", "created_at": 1721335131.1293442}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_enj_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_enj_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_enj_event_position_modified1\"", "created_at": 1721335131.129496}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_delayed_order_removed\"", "created_at": 1721335131.1296513}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_delayed_order_submitted\"", "created_at": 1721335131.1298013}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_funding_recomputed\"", "created_at": 1721335131.129949}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_margin_transferred\"", "created_at": 1721335131.1300986}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_perps_tracking\"", "created_at": 1721335131.1302469}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_flagged\"", "created_at": 1721335131.130399}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_liquidated0\"", "created_at": 1721335131.1305504}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_liquidated1\"", "created_at": 1721335131.1306992}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_modified0\"", "created_at": 1721335131.130851}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eos_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eos_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eos_event_position_modified1\"", "created_at": 1721335131.1310053}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_delayed_order_removed\"", "created_at": 1721335131.1311724}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_delayed_order_submitted\"", "created_at": 1721335131.1313276}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_funding_recomputed\"", "created_at": 1721335131.131478}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_margin_transferred\"", "created_at": 1721335131.1316278}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_perps_tracking\"", "created_at": 1721335131.1317785}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_flagged\"", "created_at": 1721335131.131932}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_liquidated0\"", "created_at": 1721335131.1320872}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_liquidated1\"", "created_at": 1721335131.1322348}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_modified0\"", "created_at": 1721335131.1323853}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_etc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_etc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_etc_event_position_modified1\"", "created_at": 1721335131.1325364}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_delayed_order_removed\"", "created_at": 1721335131.1326895}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_delayed_order_submitted\"", "created_at": 1721335131.1328456}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_funding_recomputed\"", "created_at": 1721335131.133002}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_margin_transferred\"", "created_at": 1721335131.133173}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_perps_tracking\"", "created_at": 1721335131.1333253}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_flagged\"", "created_at": 1721335131.1340556}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_liquidated0\"", "created_at": 1721335131.1342142}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_liquidated1\"", "created_at": 1721335131.13437}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_modified0\"", "created_at": 1721335131.1345222}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eth_event_position_modified1\"", "created_at": 1721335131.134672}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_delayed_order_removed\"", "created_at": 1721335131.1348207}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_delayed_order_submitted\"", "created_at": 1721335131.1349719}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_funding_recomputed\"", "created_at": 1721335131.1351304}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_margin_transferred\"", "created_at": 1721335131.135288}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_perps_tracking\"", "created_at": 1721335131.135439}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_flagged\"", "created_at": 1721335131.1355877}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_liquidated0\"", "created_at": 1721335131.1357365}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_liquidated1\"", "created_at": 1721335131.1358902}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_modified0\"", "created_at": 1721335131.1360397}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ethbtc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ethbtc_event_position_modified1\"", "created_at": 1721335131.136189}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_delayed_order_removed\"", "created_at": 1721335131.1363416}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_delayed_order_submitted\"", "created_at": 1721335131.1364937}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_funding_recomputed\"", "created_at": 1721335131.1366544}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_margin_transferred\"", "created_at": 1721335131.1368072}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_perps_tracking\"", "created_at": 1721335131.1369631}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_flagged\"", "created_at": 1721335131.1371372}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_liquidated0\"", "created_at": 1721335131.1372917}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_liquidated1\"", "created_at": 1721335131.13744}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_modified0\"", "created_at": 1721335131.1375964}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_eur_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_eur_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_eur_event_position_modified1\"", "created_at": 1721335131.137748}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_delayed_order_removed\"", "created_at": 1721335131.1378956}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_delayed_order_submitted\"", "created_at": 1721335131.138047}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_funding_recomputed\"", "created_at": 1721335131.1381948}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_margin_transferred\"", "created_at": 1721335131.1383893}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_perps_tracking\"", "created_at": 1721335131.1385567}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_flagged\"", "created_at": 1721335131.1387079}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_liquidated0\"", "created_at": 1721335131.1388693}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_liquidated1\"", "created_at": 1721335131.1390207}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_modified0\"", "created_at": 1721335131.139183}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fet_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fet_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fet_event_position_modified1\"", "created_at": 1721335131.1393366}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_delayed_order_removed\"", "created_at": 1721335131.1394858}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_delayed_order_submitted\"", "created_at": 1721335131.139636}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_funding_recomputed\"", "created_at": 1721335131.1397839}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_margin_transferred\"", "created_at": 1721335131.1399388}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_perps_tracking\"", "created_at": 1721335131.1400893}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_flagged\"", "created_at": 1721335131.1402388}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_liquidated0\"", "created_at": 1721335131.1404107}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_liquidated1\"", "created_at": 1721335131.14056}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_modified0\"", "created_at": 1721335131.140714}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fil_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fil_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fil_event_position_modified1\"", "created_at": 1721335131.1408687}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_delayed_order_removed\"", "created_at": 1721335131.1410222}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_delayed_order_submitted\"", "created_at": 1721335131.1412003}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_funding_recomputed\"", "created_at": 1721335131.141353}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_margin_transferred\"", "created_at": 1721335131.1415005}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_perps_tracking\"", "created_at": 1721335131.1416538}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_flagged\"", "created_at": 1721335131.1418033}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_liquidated0\"", "created_at": 1721335131.141952}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_liquidated1\"", "created_at": 1721335131.1421003}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_modified0\"", "created_at": 1721335131.1422486}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_floki_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_floki_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_floki_event_position_modified1\"", "created_at": 1721335131.1424031}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_delayed_order_removed\"", "created_at": 1721335131.1425738}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_delayed_order_submitted\"", "created_at": 1721335131.142731}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_funding_recomputed\"", "created_at": 1721335131.1428883}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_margin_transferred\"", "created_at": 1721335131.1430385}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_perps_tracking\"", "created_at": 1721335131.1431885}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_flagged\"", "created_at": 1721335131.143344}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_liquidated0\"", "created_at": 1721335131.1434972}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_liquidated1\"", "created_at": 1721335131.1436493}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_modified0\"", "created_at": 1721335131.1437986}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_flow_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_flow_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_flow_event_position_modified1\"", "created_at": 1721335131.1439493}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_delayed_order_removed\"", "created_at": 1721335131.1441035}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_delayed_order_submitted\"", "created_at": 1721335131.1442611}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_funding_recomputed\"", "created_at": 1721335131.1444137}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_margin_transferred\"", "created_at": 1721335131.1445713}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_perps_tracking\"", "created_at": 1721335131.1447258}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_flagged\"", "created_at": 1721335131.144878}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_liquidated0\"", "created_at": 1721335131.1450284}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_liquidated1\"", "created_at": 1721335131.145197}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_modified0\"", "created_at": 1721335131.145344}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ftm_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ftm_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ftm_event_position_modified1\"", "created_at": 1721335131.1454911}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_delayed_order_removed\"", "created_at": 1721335131.1456382}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_delayed_order_submitted\"", "created_at": 1721335131.1457927}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_funding_recomputed\"", "created_at": 1721335131.1459403}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_margin_transferred\"", "created_at": 1721335131.1460886}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_perps_tracking\"", "created_at": 1721335131.1462407}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_flagged\"", "created_at": 1721335131.1463907}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_liquidated0\"", "created_at": 1721335131.146548}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_liquidated1\"", "created_at": 1721335131.1467204}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_modified0\"", "created_at": 1721335131.1468685}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_fxs_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_fxs_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_fxs_event_position_modified1\"", "created_at": 1721335131.1470146}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_delayed_order_removed\"", "created_at": 1721335131.1471605}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_delayed_order_submitted\"", "created_at": 1721335131.1473122}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_funding_recomputed\"", "created_at": 1721335131.1474607}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_margin_transferred\"", "created_at": 1721335131.1476083}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_perps_tracking\"", "created_at": 1721335131.147757}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_flagged\"", "created_at": 1721335131.1479049}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_liquidated0\"", "created_at": 1721335131.1480582}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_liquidated1\"", "created_at": 1721335131.148208}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_modified0\"", "created_at": 1721335131.148358}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gbp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gbp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gbp_event_position_modified1\"", "created_at": 1721335131.1485186}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_delayed_order_removed\"", "created_at": 1721335131.1486673}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_delayed_order_submitted\"", "created_at": 1721335131.1488154}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_funding_recomputed\"", "created_at": 1721335131.1489666}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_margin_transferred\"", "created_at": 1721335131.1491506}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_perps_tracking\"", "created_at": 1721335131.14931}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_flagged\"", "created_at": 1721335131.149458}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_liquidated0\"", "created_at": 1721335131.1496048}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_liquidated1\"", "created_at": 1721335131.149757}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_modified0\"", "created_at": 1721335131.149908}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_gmx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_gmx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_gmx_event_position_modified1\"", "created_at": 1721335131.1500578}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_delayed_order_removed\"", "created_at": 1721335131.150209}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_delayed_order_submitted\"", "created_at": 1721335131.1503572}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_funding_recomputed\"", "created_at": 1721335131.150504}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_margin_transferred\"", "created_at": 1721335131.1506555}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_perps_tracking\"", "created_at": 1721335131.150803}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_flagged\"", "created_at": 1721335131.1509511}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_liquidated0\"", "created_at": 1721335131.151117}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_liquidated1\"", "created_at": 1721335131.1512628}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_modified0\"", "created_at": 1721335131.1514142}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_grt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_grt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_grt_event_position_modified1\"", "created_at": 1721335131.151561}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_delayed_order_removed\"", "created_at": 1721335131.151711}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_delayed_order_submitted\"", "created_at": 1721335131.1518595}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_funding_recomputed\"", "created_at": 1721335131.152013}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_margin_transferred\"", "created_at": 1721335131.1521678}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_perps_tracking\"", "created_at": 1721335131.152315}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_flagged\"", "created_at": 1721335131.1524608}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_liquidated0\"", "created_at": 1721335131.152609}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_liquidated1\"", "created_at": 1721335131.152756}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_modified0\"", "created_at": 1721335131.152927}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_icp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_icp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_icp_event_position_modified1\"", "created_at": 1721335131.1530938}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_delayed_order_removed\"", "created_at": 1721335131.1532447}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_delayed_order_submitted\"", "created_at": 1721335131.1533933}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_funding_recomputed\"", "created_at": 1721335131.1535451}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_margin_transferred\"", "created_at": 1721335131.1536992}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_perps_tracking\"", "created_at": 1721335131.1538565}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_flagged\"", "created_at": 1721335131.1540086}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated0\"", "created_at": 1721335131.1541557}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated1\"", "created_at": 1721335131.154303}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified0\"", "created_at": 1721335131.1544502}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified1\"", "created_at": 1721335131.1546023}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_removed\"", "created_at": 1721335131.1547513}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_submitted\"", "created_at": 1721335131.1548986}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_funding_recomputed\"", "created_at": 1721335131.1550457}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_margin_transferred\"", "created_at": 1721335131.1551921}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_perps_tracking\"", "created_at": 1721335131.1553469}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_flagged\"", "created_at": 1721335131.155495}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated0\"", "created_at": 1721335131.1556423}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated1\"", "created_at": 1721335131.1557918}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified0\"", "created_at": 1721335131.155944}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified1\"", "created_at": 1721335131.1560938}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_removed\"", "created_at": 1721335131.1562462}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_submitted\"", "created_at": 1721335131.156395}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_funding_recomputed\"", "created_at": 1721335131.1565416}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_margin_transferred\"", "created_at": 1721335131.1566896}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_perps_tracking\"", "created_at": 1721335131.1568384}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_flagged\"", "created_at": 1721335131.156991}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated0\"", "created_at": 1721335131.1571672}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated1\"", "created_at": 1721335131.1573203}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified0\"", "created_at": 1721335131.1574695}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified1\"", "created_at": 1721335131.1576226}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_removed\"", "created_at": 1721335131.1577737}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_submitted\"", "created_at": 1721335131.1579225}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_funding_recomputed\"", "created_at": 1721335131.15807}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_margin_transferred\"", "created_at": 1721335131.1582174}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_perps_tracking\"", "created_at": 1721335131.1583726}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_flagged\"", "created_at": 1721335131.1585312}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated0\"", "created_at": 1721335131.158683}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated1\"", "created_at": 1721335131.158831}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified0\"", "created_at": 1721335131.158981}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified1\"", "created_at": 1721335131.1591518}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_removed\"", "created_at": 1721335131.159299}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_submitted\"", "created_at": 1721335131.1594527}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_funding_recomputed\"", "created_at": 1721335131.1595998}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_margin_transferred\"", "created_at": 1721335131.1597457}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_perps_tracking\"", "created_at": 1721335131.1598926}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_flagged\"", "created_at": 1721335131.1600392}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated0\"", "created_at": 1721335131.1601944}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated1\"", "created_at": 1721335131.1603482}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified0\"", "created_at": 1721335131.1604981}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified1\"", "created_at": 1721335131.160646}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_removed\"", "created_at": 1721335131.1607964}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_submitted\"", "created_at": 1721335131.1609514}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_funding_recomputed\"", "created_at": 1721335131.16112}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_margin_transferred\"", "created_at": 1721335131.1612766}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_perps_tracking\"", "created_at": 1721335131.1614249}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_flagged\"", "created_at": 1721335131.1615717}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated0\"", "created_at": 1721335131.1617193}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated1\"", "created_at": 1721335131.1618726}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified0\"", "created_at": 1721335131.1620212}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified1\"", "created_at": 1721335131.1621675}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_removed\"", "created_at": 1721335131.162315}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_submitted\"", "created_at": 1721335131.162461}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_funding_recomputed\"", "created_at": 1721335131.162616}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_margin_transferred\"", "created_at": 1721335131.1627648}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_perps_tracking\"", "created_at": 1721335131.1629114}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_flagged\"", "created_at": 1721335131.16306}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated0\"", "created_at": 1721335131.1632118}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated1\"", "created_at": 1721335131.1633613}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified0\"", "created_at": 1721335131.1635146}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified1\"", "created_at": 1721335131.1636682}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_removed\"", "created_at": 1721335131.1638167}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_submitted\"", "created_at": 1721335131.163965}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_funding_recomputed\"", "created_at": 1721335131.1641128}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_margin_transferred\"", "created_at": 1721335131.1642644}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_perps_tracking\"", "created_at": 1721335131.1644146}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_flagged\"", "created_at": 1721335131.1645634}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated0\"", "created_at": 1721335131.1647093}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated1\"", "created_at": 1721335131.1648614}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified0\"", "created_at": 1721335131.1650147}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified1\"", "created_at": 1721335131.1651824}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_removed\"", "created_at": 1721335131.1653535}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_submitted\"", "created_at": 1721335131.1655016}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_funding_recomputed\"", "created_at": 1721335131.1656487}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_margin_transferred\"", "created_at": 1721335131.1658018}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_perps_tracking\"", "created_at": 1721335131.1659503}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_flagged\"", "created_at": 1721335131.1660984}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated0\"", "created_at": 1721335131.16625}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated1\"", "created_at": 1721335131.1664014}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified0\"", "created_at": 1721335131.1665492}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified1\"", "created_at": 1721335131.1667156}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_removed\"", "created_at": 1721335131.166865}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_submitted\"", "created_at": 1721335131.1670122}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_funding_recomputed\"", "created_at": 1721335131.1671581}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_margin_transferred\"", "created_at": 1721335131.1673057}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_perps_tracking\"", "created_at": 1721335131.1674604}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_flagged\"", "created_at": 1721335131.1676078}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated0\"", "created_at": 1721335131.1677556}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated1\"", "created_at": 1721335131.1679027}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified0\"", "created_at": 1721335131.1680543}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified1\"", "created_at": 1721335131.1682065}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_removed\"", "created_at": 1721335131.1683545}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_submitted\"", "created_at": 1721335131.16851}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_funding_recomputed\"", "created_at": 1721335131.1686647}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_margin_transferred\"", "created_at": 1721335131.1688147}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_perps_tracking\"", "created_at": 1721335131.168967}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_flagged\"", "created_at": 1721335131.1691442}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated0\"", "created_at": 1721335131.1692939}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated1\"", "created_at": 1721335131.1694415}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified0\"", "created_at": 1721335131.1695898}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified1\"", "created_at": 1721335131.169737}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_removed\"", "created_at": 1721335131.1698916}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_submitted\"", "created_at": 1721335131.1700423}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_funding_recomputed\"", "created_at": 1721335131.17019}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_margin_transferred\"", "created_at": 1721335131.1703367}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_perps_tracking\"", "created_at": 1721335131.1704874}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_flagged\"", "created_at": 1721335131.1706533}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated0\"", "created_at": 1721335131.1708028}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated1\"", "created_at": 1721335131.1709495}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified0\"", "created_at": 1721335131.1710978}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified1\"", "created_at": 1721335131.1712446}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_removed\"", "created_at": 1721335131.1713905}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_submitted\"", "created_at": 1721335131.171562}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_funding_recomputed\"", "created_at": 1721335131.1717157}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_margin_transferred\"", "created_at": 1721335131.1718633}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_perps_tracking\"", "created_at": 1721335131.1720116}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_flagged\"", "created_at": 1721335131.1721823}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated0\"", "created_at": 1721335131.1725464}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated1\"", "created_at": 1721335131.1726956}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified0\"", "created_at": 1721335131.1728454}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified1\"", "created_at": 1721335131.1729918}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_removed\"", "created_at": 1721335131.17321}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_submitted\"", "created_at": 1721335131.1733785}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_funding_recomputed\"", "created_at": 1721335131.173532}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_margin_transferred\"", "created_at": 1721335131.1736813}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_perps_tracking\"", "created_at": 1721335131.1738355}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_flagged\"", "created_at": 1721335131.173989}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated0\"", "created_at": 1721335131.1741416}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated1\"", "created_at": 1721335131.174291}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified0\"", "created_at": 1721335131.174443}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified1\"", "created_at": 1721335131.1745894}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_removed\"", "created_at": 1721335131.1747365}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_submitted\"", "created_at": 1721335131.1748836}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_funding_recomputed\"", "created_at": 1721335131.1750379}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_margin_transferred\"", "created_at": 1721335131.1751854}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_perps_tracking\"", "created_at": 1721335131.1753328}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_flagged\"", "created_at": 1721335131.1754875}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated0\"", "created_at": 1721335131.1756399}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated1\"", "created_at": 1721335131.175794}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified0\"", "created_at": 1721335131.1759462}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified1\"", "created_at": 1721335131.1760936}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_removed\"", "created_at": 1721335131.176246}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_submitted\"", "created_at": 1721335131.1763935}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_funding_recomputed\"", "created_at": 1721335131.1765409}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_margin_transferred\"", "created_at": 1721335131.1766922}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_perps_tracking\"", "created_at": 1721335131.176843}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_flagged\"", "created_at": 1721335131.1769917}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated0\"", "created_at": 1721335131.1771605}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated1\"", "created_at": 1721335131.177309}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified0\"", "created_at": 1721335131.1774666}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified1\"", "created_at": 1721335131.1776185}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_removed\"", "created_at": 1721335131.1777673}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_submitted\"", "created_at": 1721335131.1779149}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_funding_recomputed\"", "created_at": 1721335131.1780872}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_margin_transferred\"", "created_at": 1721335131.178244}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_perps_tracking\"", "created_at": 1721335131.178394}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_flagged\"", "created_at": 1721335131.1785476}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated0\"", "created_at": 1721335131.1786962}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated1\"", "created_at": 1721335131.1788435}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified0\"", "created_at": 1721335131.1789937}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified1\"", "created_at": 1721335131.179143}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_removed\"", "created_at": 1721335131.1792972}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_submitted\"", "created_at": 1721335131.1794462}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_funding_recomputed\"", "created_at": 1721335131.179595}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_margin_transferred\"", "created_at": 1721335131.179743}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_perps_tracking\"", "created_at": 1721335131.1799016}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_flagged\"", "created_at": 1721335131.1800578}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_liquidated0\"", "created_at": 1721335131.180209}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_liquidated1\"", "created_at": 1721335131.1803582}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_modified0\"", "created_at": 1721335131.1805084}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_position_modified1\"", "created_at": 1721335131.1806626}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_delayed_order_removed\"", "created_at": 1721335131.1808105}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_delayed_order_submitted\"", "created_at": 1721335131.1809561}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_funding_recomputed\"", "created_at": 1721335131.1811292}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_margin_transferred\"", "created_at": 1721335131.1812828}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_perps_tracking\"", "created_at": 1721335131.1814358}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_flagged\"", "created_at": 1721335131.1815834}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_liquidated0\"", "created_at": 1721335131.18173}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_liquidated1\"", "created_at": 1721335131.1818824}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_modified0\"", "created_at": 1721335131.182031}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rune_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rune_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rune_event_position_modified1\"", "created_at": 1721335131.1821804}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_delayed_order_removed\"", "created_at": 1721335131.1823332}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_delayed_order_submitted\"", "created_at": 1721335131.182481}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_funding_recomputed\"", "created_at": 1721335131.1826277}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_margin_transferred\"", "created_at": 1721335131.1827767}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_perps_tracking\"", "created_at": 1721335131.1829267}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_flagged\"", "created_at": 1721335131.18308}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_liquidated0\"", "created_at": 1721335131.183234}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_liquidated1\"", "created_at": 1721335131.1833835}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_modified0\"", "created_at": 1721335131.183532}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sei_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sei_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sei_event_position_modified1\"", "created_at": 1721335131.1836846}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_delayed_order_removed\"", "created_at": 1721335131.1838384}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_delayed_order_submitted\"", "created_at": 1721335131.1839876}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_funding_recomputed\"", "created_at": 1721335131.1841342}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_margin_transferred\"", "created_at": 1721335131.184302}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_perps_tracking\"", "created_at": 1721335131.1844547}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_flagged\"", "created_at": 1721335131.1846032}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_liquidated0\"", "created_at": 1721335131.1847594}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_liquidated1\"", "created_at": 1721335131.1849096}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_modified0\"", "created_at": 1721335131.1850812}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_shib_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_shib_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_shib_event_position_modified1\"", "created_at": 1721335131.1852417}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_delayed_order_removed\"", "created_at": 1721335131.1853914}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_delayed_order_submitted\"", "created_at": 1721335131.1855462}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_funding_recomputed\"", "created_at": 1721335131.1857004}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_margin_transferred\"", "created_at": 1721335131.18585}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_perps_tracking\"", "created_at": 1721335131.1859965}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_flagged\"", "created_at": 1721335131.186143}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_liquidated0\"", "created_at": 1721335131.1862938}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_liquidated1\"", "created_at": 1721335131.1864421}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_modified0\"", "created_at": 1721335131.1865938}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sol_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sol_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sol_event_position_modified1\"", "created_at": 1721335131.1867428}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_delayed_order_removed\"", "created_at": 1721335131.1868908}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_delayed_order_submitted\"", "created_at": 1721335131.1870413}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_funding_recomputed\"", "created_at": 1721335131.1871903}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_margin_transferred\"", "created_at": 1721335131.187343}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_perps_tracking\"", "created_at": 1721335131.1874907}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_flagged\"", "created_at": 1721335131.1876378}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_liquidated0\"", "created_at": 1721335131.1877854}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_liquidated1\"", "created_at": 1721335131.1879375}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_modified0\"", "created_at": 1721335131.188085}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_steth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_steth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_steth_event_position_modified1\"", "created_at": 1721335131.188232}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_delayed_order_removed\"", "created_at": 1721335131.1883814}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_delayed_order_submitted\"", "created_at": 1721335131.18854}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_funding_recomputed\"", "created_at": 1721335131.1886926}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_margin_transferred\"", "created_at": 1721335131.1888392}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_perps_tracking\"", "created_at": 1721335131.1889865}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_flagged\"", "created_at": 1721335131.1891575}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_liquidated0\"", "created_at": 1721335131.189307}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_liquidated1\"", "created_at": 1721335131.189455}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_modified0\"", "created_at": 1721335131.1896074}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_stetheth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_stetheth_event_position_modified1\"", "created_at": 1721335131.1897564}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_delayed_order_removed\"", "created_at": 1721335131.1899047}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_delayed_order_submitted\"", "created_at": 1721335131.1900527}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_funding_recomputed\"", "created_at": 1721335131.1902044}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_margin_transferred\"", "created_at": 1721335131.1903594}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_perps_tracking\"", "created_at": 1721335131.1905308}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_flagged\"", "created_at": 1721335131.1906786}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_liquidated0\"", "created_at": 1721335131.1908255}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_liquidated1\"", "created_at": 1721335131.1909788}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_modified0\"", "created_at": 1721335131.1911323}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sui_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sui_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sui_event_position_modified1\"", "created_at": 1721335131.1912823}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_delayed_order_removed\"", "created_at": 1721335131.1914313}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_delayed_order_submitted\"", "created_at": 1721335131.1915858}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_funding_recomputed\"", "created_at": 1721335131.1917384}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_margin_transferred\"", "created_at": 1721335131.191891}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_perps_tracking\"", "created_at": 1721335131.1920424}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_flagged\"", "created_at": 1721335131.1921906}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_liquidated0\"", "created_at": 1721335131.1923382}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_liquidated1\"", "created_at": 1721335131.1924846}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_modified0\"", "created_at": 1721335131.1926332}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_sushi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_sushi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_sushi_event_position_modified1\"", "created_at": 1721335131.1927843}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_delayed_order_removed\"", "created_at": 1721335131.192942}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_delayed_order_submitted\"", "created_at": 1721335131.1931121}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_funding_recomputed\"", "created_at": 1721335131.1932628}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_margin_transferred\"", "created_at": 1721335131.1934109}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_perps_tracking\"", "created_at": 1721335131.1935632}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_flagged\"", "created_at": 1721335131.1937113}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_liquidated0\"", "created_at": 1721335131.1938624}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_liquidated1\"", "created_at": 1721335131.1940134}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_modified0\"", "created_at": 1721335131.1941624}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_tia_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_tia_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_tia_event_position_modified1\"", "created_at": 1721335131.194315}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_delayed_order_removed\"", "created_at": 1721335131.1944642}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_delayed_order_submitted\"", "created_at": 1721335131.1946118}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_funding_recomputed\"", "created_at": 1721335131.1947641}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_margin_transferred\"", "created_at": 1721335131.194917}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_perps_tracking\"", "created_at": 1721335131.1950662}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_flagged\"", "created_at": 1721335131.1952207}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_liquidated0\"", "created_at": 1721335131.1953695}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_liquidated1\"", "created_at": 1721335131.1955175}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_modified0\"", "created_at": 1721335131.1956685}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trb_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trb_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trb_event_position_modified1\"", "created_at": 1721335131.1958182}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_delayed_order_removed\"", "created_at": 1721335131.1959708}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_delayed_order_submitted\"", "created_at": 1721335131.1961222}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_funding_recomputed\"", "created_at": 1721335131.1962714}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_margin_transferred\"", "created_at": 1721335131.1964183}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_perps_tracking\"", "created_at": 1721335131.19657}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_flagged\"", "created_at": 1721335131.1967444}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_liquidated0\"", "created_at": 1721335131.1968927}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_liquidated1\"", "created_at": 1721335131.1970396}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_modified0\"", "created_at": 1721335131.1972082}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_trx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_trx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_trx_event_position_modified1\"", "created_at": 1721335131.1973567}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_delayed_order_removed\"", "created_at": 1721335131.1975076}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_delayed_order_submitted\"", "created_at": 1721335131.1976604}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_funding_recomputed\"", "created_at": 1721335131.197809}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_margin_transferred\"", "created_at": 1721335131.1979568}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_perps_tracking\"", "created_at": 1721335131.1981237}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_flagged\"", "created_at": 1721335131.198271}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_liquidated0\"", "created_at": 1721335131.1984313}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_liquidated1\"", "created_at": 1721335131.198581}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_modified0\"", "created_at": 1721335131.198736}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uma_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uma_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uma_event_position_modified1\"", "created_at": 1721335131.1988907}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_delayed_order_removed\"", "created_at": 1721335131.1990404}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_delayed_order_submitted\"", "created_at": 1721335131.1991982}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_funding_recomputed\"", "created_at": 1721335131.199352}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_margin_transferred\"", "created_at": 1721335131.1995041}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_perps_tracking\"", "created_at": 1721335131.1996527}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_flagged\"", "created_at": 1721335131.1998067}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_liquidated0\"", "created_at": 1721335131.19996}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_liquidated1\"", "created_at": 1721335131.2001083}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_modified0\"", "created_at": 1721335131.200259}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_uni_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_uni_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_uni_event_position_modified1\"", "created_at": 1721335131.2004113}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_delayed_order_removed\"", "created_at": 1721335131.20056}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_delayed_order_submitted\"", "created_at": 1721335131.200707}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_funding_recomputed\"", "created_at": 1721335131.2008584}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_margin_transferred\"", "created_at": 1721335131.2010078}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_perps_tracking\"", "created_at": 1721335131.201181}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_flagged\"", "created_at": 1721335131.201334}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_liquidated0\"", "created_at": 1721335131.2014832}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_liquidated1\"", "created_at": 1721335131.2016377}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_modified0\"", "created_at": 1721335131.201787}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_usdt_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_usdt_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_usdt_event_position_modified1\"", "created_at": 1721335131.201935}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_delayed_order_removed\"", "created_at": 1721335131.2020884}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_delayed_order_submitted\"", "created_at": 1721335131.2022367}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_funding_recomputed\"", "created_at": 1721335131.2023866}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_margin_transferred\"", "created_at": 1721335131.20255}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_perps_tracking\"", "created_at": 1721335131.2027025}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_flagged\"", "created_at": 1721335131.2028518}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_liquidated0\"", "created_at": 1721335131.2030256}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_liquidated1\"", "created_at": 1721335131.2031753}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_modified0\"", "created_at": 1721335131.203328}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_wld_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_wld_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_wld_event_position_modified1\"", "created_at": 1721335131.2034764}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_delayed_order_removed\"", "created_at": 1721335131.2036264}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_delayed_order_submitted\"", "created_at": 1721335131.2037742}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_funding_recomputed\"", "created_at": 1721335131.2039263}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_margin_transferred\"", "created_at": 1721335131.2040823}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_perps_tracking\"", "created_at": 1721335131.2042298}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_flagged\"", "created_at": 1721335131.2043781}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_liquidated0\"", "created_at": 1721335131.2045248}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_liquidated1\"", "created_at": 1721335131.204674}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_modified0\"", "created_at": 1721335131.2048326}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xag_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xag_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xag_event_position_modified1\"", "created_at": 1721335131.2049906}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_delayed_order_removed\"", "created_at": 1721335131.205159}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_delayed_order_submitted\"", "created_at": 1721335131.2053082}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_funding_recomputed\"", "created_at": 1721335131.2054567}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_margin_transferred\"", "created_at": 1721335131.2056036}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_perps_tracking\"", "created_at": 1721335131.2057674}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_flagged\"", "created_at": 1721335131.2059166}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_liquidated0\"", "created_at": 1721335131.2061481}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_liquidated1\"", "created_at": 1721335131.206408}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_modified0\"", "created_at": 1721335131.206631}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xau_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xau_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xau_event_position_modified1\"", "created_at": 1721335131.2067947}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_delayed_order_removed\"", "created_at": 1721335131.206948}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_delayed_order_submitted\"", "created_at": 1721335131.2070992}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_funding_recomputed\"", "created_at": 1721335131.2072494}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_margin_transferred\"", "created_at": 1721335131.2073982}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_perps_tracking\"", "created_at": 1721335131.2075505}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_flagged\"", "created_at": 1721335131.2076995}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_liquidated0\"", "created_at": 1721335131.2078478}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_liquidated1\"", "created_at": 1721335131.207998}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_modified0\"", "created_at": 1721335131.2081513}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xlm_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xlm_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xlm_event_position_modified1\"", "created_at": 1721335131.2083015}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_delayed_order_removed\"", "created_at": 1721335131.2084644}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_delayed_order_submitted\"", "created_at": 1721335131.2086134}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_funding_recomputed\"", "created_at": 1721335131.2087638}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_margin_transferred\"", "created_at": 1721335131.2089145}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_perps_tracking\"", "created_at": 1721335131.209088}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_flagged\"", "created_at": 1721335131.2092502}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_liquidated0\"", "created_at": 1721335131.209405}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_liquidated1\"", "created_at": 1721335131.2099564}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_modified0\"", "created_at": 1721335131.210116}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xmr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xmr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xmr_event_position_modified1\"", "created_at": 1721335131.2102697}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_delayed_order_removed\"", "created_at": 1721335131.210425}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_delayed_order_submitted\"", "created_at": 1721335131.2105765}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_funding_recomputed\"", "created_at": 1721335131.2107258}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_margin_transferred\"", "created_at": 1721335131.210874}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_perps_tracking\"", "created_at": 1721335131.2110262}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_flagged\"", "created_at": 1721335131.211176}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_liquidated0\"", "created_at": 1721335131.2113287}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_liquidated1\"", "created_at": 1721335131.211477}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_modified0\"", "created_at": 1721335131.2116237}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xrp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xrp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xrp_event_position_modified1\"", "created_at": 1721335131.2117753}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_delayed_order_removed\"", "created_at": 1721335131.2119207}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_delayed_order_submitted\"", "created_at": 1721335131.2120771}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_funding_recomputed\"", "created_at": 1721335131.2122245}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_margin_transferred\"", "created_at": 1721335131.2123709}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_perps_tracking\"", "created_at": 1721335131.2125185}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_flagged\"", "created_at": 1721335131.2126663}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_liquidated0\"", "created_at": 1721335131.212819}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_liquidated1\"", "created_at": 1721335131.212969}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_modified0\"", "created_at": 1721335131.213137}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_xtz_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_xtz_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_xtz_event_position_modified1\"", "created_at": 1721335131.2132854}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_delayed_order_removed\"", "created_at": 1721335131.2134333}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_delayed_order_submitted\"", "created_at": 1721335131.213592}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_funding_recomputed\"", "created_at": 1721335131.2137556}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_margin_transferred\"", "created_at": 1721335131.2139146}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_perps_tracking\"", "created_at": 1721335131.2140667}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_flagged\"", "created_at": 1721335131.2142153}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_liquidated0\"", "created_at": 1721335131.2143621}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_liquidated1\"", "created_at": 1721335131.214513}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_modified0\"", "created_at": 1721335131.214666}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_yfi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_yfi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_yfi_event_position_modified1\"", "created_at": 1721335131.2148151}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_delayed_order_removed\"", "created_at": 1721335131.2149673}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_delayed_order_submitted\"", "created_at": 1721335131.2151194}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_funding_recomputed\"", "created_at": 1721335131.2152731}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_margin_transferred\"", "created_at": 1721335131.215422}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_perps_tracking\"", "created_at": 1721335131.215571}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_flagged\"", "created_at": 1721335131.2157211}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_liquidated0\"", "created_at": 1721335131.2158802}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_liquidated1\"", "created_at": 1721335131.2160308}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_modified0\"", "created_at": 1721335131.216204}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zec_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zec_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zec_event_position_modified1\"", "created_at": 1721335131.2163577}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_delayed_order_removed\"", "created_at": 1721335131.216511}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_delayed_order_submitted\"", "created_at": 1721335131.21666}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_funding_recomputed\"", "created_at": 1721335131.21681}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_margin_transferred\"", "created_at": 1721335131.2169607}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_perps_tracking\"", "created_at": 1721335131.2171264}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_flagged\"", "created_at": 1721335131.2172766}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_liquidated0\"", "created_at": 1721335131.2174244}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_liquidated1\"", "created_at": 1721335131.2175763}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_modified0\"", "created_at": 1721335131.2177286}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zil_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zil_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zil_event_position_modified1\"", "created_at": 1721335131.2178802}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_delayed_order_removed\"", "created_at": 1721335131.218028}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_delayed_order_submitted\"", "created_at": 1721335131.2181745}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_funding_recomputed\"", "created_at": 1721335131.2183263}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_margin_transferred\"", "created_at": 1721335131.2184837}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_perps_tracking\"", "created_at": 1721335131.218633}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_flagged\"", "created_at": 1721335131.2187793}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_liquidated0\"", "created_at": 1721335131.2189267}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_liquidated1\"", "created_at": 1721335131.2190738}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_modified0\"", "created_at": 1721335131.2192202}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_zrx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_zrx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_zrx_event_position_modified1\"", "created_at": 1721335131.2193768}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_delayed_order_removed\"", "created_at": 1721335131.219526}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_delayed_order_submitted\"", "created_at": 1721335131.2196739}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_funding_recomputed\"", "created_at": 1721335131.2198215}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_margin_transferred\"", "created_at": 1721335131.2199693}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_perps_tracking\"", "created_at": 1721335131.2201288}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_flagged\"", "created_at": 1721335131.220278}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_liquidated0\"", "created_at": 1721335131.2204263}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_liquidated1\"", "created_at": 1721335131.2205725}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_modified0\"", "created_at": 1721335131.2207198}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ordi_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ordi_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ordi_event_position_modified1\"", "created_at": 1721335131.2208729}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_delayed_order_removed\"", "created_at": 1721335131.2210224}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_delayed_order_submitted\"", "created_at": 1721335131.2212036}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_funding_recomputed\"", "created_at": 1721335131.221358}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_margin_transferred\"", "created_at": 1721335131.2215068}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_perps_tracking\"", "created_at": 1721335131.2216542}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_flagged\"", "created_at": 1721335131.221806}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_liquidated0\"", "created_at": 1721335131.2219582}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_liquidated1\"", "created_at": 1721335131.2221072}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_modified0\"", "created_at": 1721335131.2222543}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_cvx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_cvx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_cvx_event_position_modified1\"", "created_at": 1721335131.222421}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_delayed_order_removed\"", "created_at": 1721335131.2225733}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_delayed_order_submitted\"", "created_at": 1721335131.2227232}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_funding_recomputed\"", "created_at": 1721335131.222871}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_margin_transferred\"", "created_at": 1721335131.2230186}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_perps_tracking\"", "created_at": 1721335131.2231758}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_flagged\"", "created_at": 1721335131.2233434}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_liquidated0\"", "created_at": 1721335131.2234976}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_liquidated1\"", "created_at": 1721335131.2236454}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_modified0\"", "created_at": 1721335131.2237947}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jup_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jup_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jup_event_position_modified1\"", "created_at": 1721335131.2239425}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_delayed_order_removed\"", "created_at": 1721335131.2240946}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_delayed_order_submitted\"", "created_at": 1721335131.2242403}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_funding_recomputed\"", "created_at": 1721335131.2243865}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_margin_transferred\"", "created_at": 1721335131.2245347}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_perps_tracking\"", "created_at": 1721335131.2246864}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_flagged\"", "created_at": 1721335131.224833}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_liquidated0\"", "created_at": 1721335131.2250319}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_liquidated1\"", "created_at": 1721335131.22521}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_modified0\"", "created_at": 1721335131.22536}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_jto_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_jto_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_jto_event_position_modified1\"", "created_at": 1721335131.2255065}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_delayed_order_removed\"", "created_at": 1721335131.225657}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_delayed_order_submitted\"", "created_at": 1721335131.2258093}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_funding_recomputed\"", "created_at": 1721335131.2259567}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_margin_transferred\"", "created_at": 1721335131.226103}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_perps_tracking\"", "created_at": 1721335131.2262485}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_flagged\"", "created_at": 1721335131.2263942}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_liquidated0\"", "created_at": 1721335131.2265444}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_liquidated1\"", "created_at": 1721335131.226691}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_modified0\"", "created_at": 1721335131.226842}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_strk_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_strk_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_strk_event_position_modified1\"", "created_at": 1721335131.2269888}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_delayed_order_removed\"", "created_at": 1721335131.227136}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_delayed_order_submitted\"", "created_at": 1721335131.2272816}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_funding_recomputed\"", "created_at": 1721335131.2274356}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_margin_transferred\"", "created_at": 1721335131.2275846}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_perps_tracking\"", "created_at": 1721335131.2277296}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_flagged\"", "created_at": 1721335131.2278745}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_liquidated0\"", "created_at": 1721335131.228019}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_liquidated1\"", "created_at": 1721335131.22817}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_modified0\"", "created_at": 1721335131.2283156}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pendle_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pendle_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pendle_event_position_modified1\"", "created_at": 1721335131.2284672}}, "macros": {"macro.synthetix.convert_hex": {"name": "convert_hex", "resource_type": "macro", "package_name": "synthetix", "path": "macros/convert_hex.sql", "original_file_path": "macros/convert_hex.sql", "unique_id": "macro.synthetix.convert_hex", "macro_sql": "{% macro convert_hex(\n hex_column,\n max_length = 20\n ) %}\n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE({{ hex_column }}, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n {{ max_length }}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.704029, "supported_languages": null}, "macro.synthetix.convert_wei": {"name": "convert_wei", "resource_type": "macro", "package_name": "synthetix", "path": "macros/convert_wei.sql", "original_file_path": "macros/convert_wei.sql", "unique_id": "macro.synthetix.convert_wei", "macro_sql": "{% macro convert_wei(column_name) %}\n {{ column_name }} / 1e18\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.704494, "supported_languages": null}, "macro.synthetix.copy_raw": {"name": "copy_raw", "resource_type": "macro", "package_name": "synthetix", "path": "macros/copy_raw.sql", "original_file_path": "macros/copy_raw.sql", "unique_id": "macro.synthetix.copy_raw", "macro_sql": "{% macro copy_raw() %}\n{% set target_name = target.name %}\n{% set sql %}\n CALL copy_schema_tables('{{ target_name }}', 'public', 'analytics', 'raw_{{ target_name }}');\n{% endset %}\n\n{% do run_query(sql) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.705327, "supported_languages": null}, "macro.synthetix.get_event_data": {"name": "get_event_data", "resource_type": "macro", "package_name": "synthetix", "path": "macros/get_event_data.sql", "original_file_path": "macros/get_event_data.sql", "unique_id": "macro.synthetix.get_event_data", "macro_sql": "{% macro get_event_data(\n chain,\n network,\n contract_name,\n event_name\n ) %}\nSELECT\n *\nFROM\n {{ source(\n 'raw_' ~ chain ~ '_' ~ network,\n contract_name ~ '_event_' ~ event_name\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7059464, "supported_languages": null}, "macro.synthetix.get_v2_event_data": {"name": "get_v2_event_data", "resource_type": "macro", "package_name": "synthetix", "path": "macros/get_v2_event_data.sql", "original_file_path": "macros/get_v2_event_data.sql", "unique_id": "macro.synthetix.get_v2_event_data", "macro_sql": "{%- macro get_v2_event_data(\n chain,\n network,\n event_name\n ) -%}\n {%- set markets = var('v2_markets') -%}\n {%- set relations = [] -%}\n {%- for market in markets -%}\n {%- do relations.append(\n source(\n 'raw_' ~ chain ~ '_' ~ network,\n 'perps_v2_' ~ market ~ '_event_' ~ event_name if market != '1_inch' else 'perps_v2' ~ market ~ '_event_' ~ event_name\n )\n ) -%}\n {%- endfor -%}\n\n WITH raw_data AS (\n {{ dbt_utils.union_relations(\n relations = relations\n ) }}\n )\nSELECT\n *,\n COALESCE(\n REGEXP_SUBSTR(\n \"_dbt_source_relation\",\n 'perps_v2_([^_]+)_event',\n 1,\n 1,\n 'i',\n 1\n ),\n '1inch'\n ) AS market\nFROM\n raw_data\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7074509, "supported_languages": null}, "macro.dbt_postgres.postgres__get_catalog_relations": {"name": "postgres__get_catalog_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_postgres.postgres__get_catalog_relations", "macro_sql": "{% macro postgres__get_catalog_relations(information_schema, relations) -%}\n {%- call statement('catalog', fetch_result=True) -%}\n\n {#\n If the user has multiple databases set and the first one is wrong, this will fail.\n But we won't fail in the case where there are multiple quoting-difference-only dbs, which is better.\n #}\n {% set database = information_schema.database %}\n {{ adapter.verify_database(database) }}\n\n select\n '{{ database }}' as table_database,\n sch.nspname as table_schema,\n tbl.relname as table_name,\n case tbl.relkind\n when 'v' then 'VIEW'\n when 'm' then 'MATERIALIZED VIEW'\n else 'BASE TABLE'\n end as table_type,\n tbl_desc.description as table_comment,\n col.attname as column_name,\n col.attnum as column_index,\n pg_catalog.format_type(col.atttypid, col.atttypmod) as column_type,\n col_desc.description as column_comment,\n pg_get_userbyid(tbl.relowner) as table_owner\n\n from pg_catalog.pg_namespace sch\n join pg_catalog.pg_class tbl on tbl.relnamespace = sch.oid\n join pg_catalog.pg_attribute col on col.attrelid = tbl.oid\n left outer join pg_catalog.pg_description tbl_desc on (tbl_desc.objoid = tbl.oid and tbl_desc.objsubid = 0)\n left outer join pg_catalog.pg_description col_desc on (col_desc.objoid = tbl.oid and col_desc.objsubid = col.attnum)\n where (\n {%- for relation in relations -%}\n {%- if relation.identifier -%}\n (upper(sch.nspname) = upper('{{ relation.schema }}') and\n upper(tbl.relname) = upper('{{ relation.identifier }}'))\n {%- else-%}\n upper(sch.nspname) = upper('{{ relation.schema }}')\n {%- endif -%}\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n )\n and not pg_is_other_temp_schema(sch.oid) -- not a temporary schema belonging to another session\n and tbl.relpersistence in ('p', 'u') -- [p]ermanent table or [u]nlogged table. Exclude [t]emporary tables\n and tbl.relkind in ('r', 'v', 'f', 'p', 'm') -- o[r]dinary table, [v]iew, [f]oreign table, [p]artitioned table, [m]aterialized view. Other values are [i]ndex, [S]equence, [c]omposite type, [t]OAST table\n and col.attnum > 0 -- negative numbers are used for system columns such as oid\n and not col.attisdropped -- column as not been dropped\n\n order by\n sch.nspname,\n tbl.relname,\n col.attnum\n\n {%- endcall -%}\n\n {{ return(load_result('catalog').table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7100787, "supported_languages": null}, "macro.dbt_postgres.postgres__get_catalog": {"name": "postgres__get_catalog", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_postgres.postgres__get_catalog", "macro_sql": "{% macro postgres__get_catalog(information_schema, schemas) -%}\n {%- set relations = [] -%}\n {%- for schema in schemas -%}\n {%- set dummy = relations.append({'schema': schema}) -%}\n {%- endfor -%}\n {{ return(postgres__get_catalog_relations(information_schema, relations)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.710911, "supported_languages": null}, "macro.dbt_postgres.postgres__get_relations": {"name": "postgres__get_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations.sql", "original_file_path": "macros/relations.sql", "unique_id": "macro.dbt_postgres.postgres__get_relations", "macro_sql": "{% macro postgres__get_relations() -%}\n\n {#\n -- in pg_depend, objid is the dependent, refobjid is the referenced object\n -- > a pg_depend entry indicates that the referenced object cannot be\n -- > dropped without also dropping the dependent object.\n #}\n\n {%- call statement('relations', fetch_result=True) -%}\n with relation as (\n select\n pg_rewrite.ev_class as class,\n pg_rewrite.oid as id\n from pg_rewrite\n ),\n class as (\n select\n oid as id,\n relname as name,\n relnamespace as schema,\n relkind as kind\n from pg_class\n ),\n dependency as (\n select distinct\n pg_depend.objid as id,\n pg_depend.refobjid as ref\n from pg_depend\n ),\n schema as (\n select\n pg_namespace.oid as id,\n pg_namespace.nspname as name\n from pg_namespace\n where nspname != 'information_schema' and nspname not like 'pg\\_%'\n ),\n referenced as (\n select\n relation.id AS id,\n referenced_class.name ,\n referenced_class.schema ,\n referenced_class.kind\n from relation\n join class as referenced_class on relation.class=referenced_class.id\n where referenced_class.kind in ('r', 'v', 'm')\n ),\n relationships as (\n select\n referenced.name as referenced_name,\n referenced.schema as referenced_schema_id,\n dependent_class.name as dependent_name,\n dependent_class.schema as dependent_schema_id,\n referenced.kind as kind\n from referenced\n join dependency on referenced.id=dependency.id\n join class as dependent_class on dependency.ref=dependent_class.id\n where\n (referenced.name != dependent_class.name or\n referenced.schema != dependent_class.schema)\n )\n\n select\n referenced_schema.name as referenced_schema,\n relationships.referenced_name as referenced_name,\n dependent_schema.name as dependent_schema,\n relationships.dependent_name as dependent_name\n from relationships\n join schema as dependent_schema on relationships.dependent_schema_id=dependent_schema.id\n join schema as referenced_schema on relationships.referenced_schema_id=referenced_schema.id\n group by referenced_schema, referenced_name, dependent_schema, dependent_name\n order by referenced_schema, referenced_name, dependent_schema, dependent_name;\n\n {%- endcall -%}\n\n {{ return(load_result('relations').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7119594, "supported_languages": null}, "macro.dbt_postgres.postgres_get_relations": {"name": "postgres_get_relations", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations.sql", "original_file_path": "macros/relations.sql", "unique_id": "macro.dbt_postgres.postgres_get_relations", "macro_sql": "{% macro postgres_get_relations() %}\n {{ return(postgres__get_relations()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7122214, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp": {"name": "postgres__current_timestamp", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp", "macro_sql": "{% macro postgres__current_timestamp() -%}\n now()\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7127235, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_string_as_time": {"name": "postgres__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_string_as_time", "macro_sql": "{% macro postgres__snapshot_string_as_time(timestamp) -%}\n {%- set result = \"'\" ~ timestamp ~ \"'::timestamp without time zone\" -%}\n {{ return(result) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7131174, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_get_time": {"name": "postgres__snapshot_get_time", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_get_time", "macro_sql": "{% macro postgres__snapshot_get_time() -%}\n {{ current_timestamp() }}::timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7133489, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp_backcompat": {"name": "postgres__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp_backcompat", "macro_sql": "{% macro postgres__current_timestamp_backcompat() %}\n current_timestamp::{{ type_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7135665, "supported_languages": null}, "macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat": {"name": "postgres__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/timestamps.sql", "original_file_path": "macros/timestamps.sql", "unique_id": "macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro postgres__current_timestamp_in_utc_backcompat() %}\n (current_timestamp at time zone 'utc')::{{ type_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7137828, "supported_languages": null}, "macro.dbt_postgres.postgres__create_table_as": {"name": "postgres__create_table_as", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__create_table_as", "macro_sql": "{% macro postgres__create_table_as(temporary, relation, sql) -%}\n {%- set unlogged = config.get('unlogged', default=false) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary -%}\n temporary\n {%- elif unlogged -%}\n unlogged\n {%- endif %} table {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {% endif -%}\n {% if contract_config.enforced and (not temporary) -%}\n {{ get_table_columns_and_constraints() }} ;\n insert into {{ relation }} (\n {{ adapter.dispatch('get_column_names', 'dbt')() }}\n )\n {%- set sql = get_select_subquery(sql) %}\n {% else %}\n as\n {% endif %}\n (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.default__get_column_names", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7268522, "supported_languages": null}, "macro.dbt_postgres.postgres__get_create_index_sql": {"name": "postgres__get_create_index_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_create_index_sql", "macro_sql": "{% macro postgres__get_create_index_sql(relation, index_dict) -%}\n {%- set index_config = adapter.parse_index(index_dict) -%}\n {%- set comma_separated_columns = \", \".join(index_config.columns) -%}\n {%- set index_name = index_config.render(relation) -%}\n\n create {% if index_config.unique -%}\n unique\n {%- endif %} index if not exists\n \"{{ index_name }}\"\n on {{ relation }} {% if index_config.type -%}\n using {{ index_config.type }}\n {%- endif %}\n ({{ comma_separated_columns }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.727848, "supported_languages": null}, "macro.dbt_postgres.postgres__create_schema": {"name": "postgres__create_schema", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__create_schema", "macro_sql": "{% macro postgres__create_schema(relation) -%}\n {% if relation.database -%}\n {{ adapter.verify_database(relation.database) }}\n {%- endif -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier().include(database=False) }}\n {%- endcall -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7284849, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_schema": {"name": "postgres__drop_schema", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__drop_schema", "macro_sql": "{% macro postgres__drop_schema(relation) -%}\n {% if relation.database -%}\n {{ adapter.verify_database(relation.database) }}\n {%- endif -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier().include(database=False) }} cascade\n {%- endcall -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.729128, "supported_languages": null}, "macro.dbt_postgres.postgres__get_columns_in_relation": {"name": "postgres__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_columns_in_relation", "macro_sql": "{% macro postgres__get_columns_in_relation(relation) -%}\n {% call statement('get_columns_in_relation', fetch_result=True) %}\n select\n column_name,\n data_type,\n character_maximum_length,\n numeric_precision,\n numeric_scale\n\n from {{ relation.information_schema('columns') }}\n where table_name = '{{ relation.identifier }}'\n {% if relation.schema %}\n and table_schema = '{{ relation.schema }}'\n {% endif %}\n order by ordinal_position\n\n {% endcall %}\n {% set table = load_result('get_columns_in_relation').table %}\n {{ return(sql_convert_columns_in_relation(table)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.sql_convert_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7300403, "supported_languages": null}, "macro.dbt_postgres.postgres__list_relations_without_caching": {"name": "postgres__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__list_relations_without_caching", "macro_sql": "{% macro postgres__list_relations_without_caching(schema_relation) %}\n {% call statement('list_relations_without_caching', fetch_result=True) -%}\n select\n '{{ schema_relation.database }}' as database,\n tablename as name,\n schemaname as schema,\n 'table' as type\n from pg_tables\n where schemaname ilike '{{ schema_relation.schema }}'\n union all\n select\n '{{ schema_relation.database }}' as database,\n viewname as name,\n schemaname as schema,\n 'view' as type\n from pg_views\n where schemaname ilike '{{ schema_relation.schema }}'\n union all\n select\n '{{ schema_relation.database }}' as database,\n matviewname as name,\n schemaname as schema,\n 'materialized_view' as type\n from pg_matviews\n where schemaname ilike '{{ schema_relation.schema }}'\n {% endcall %}\n {{ return(load_result('list_relations_without_caching').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.730869, "supported_languages": null}, "macro.dbt_postgres.postgres__information_schema_name": {"name": "postgres__information_schema_name", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__information_schema_name", "macro_sql": "{% macro postgres__information_schema_name(database) -%}\n {% if database_name -%}\n {{ adapter.verify_database(database_name) }}\n {%- endif -%}\n information_schema\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7312071, "supported_languages": null}, "macro.dbt_postgres.postgres__list_schemas": {"name": "postgres__list_schemas", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__list_schemas", "macro_sql": "{% macro postgres__list_schemas(database) %}\n {% if database -%}\n {{ adapter.verify_database(database) }}\n {%- endif -%}\n {% call statement('list_schemas', fetch_result=True, auto_begin=False) %}\n select distinct nspname from pg_namespace\n {% endcall %}\n {{ return(load_result('list_schemas').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7318666, "supported_languages": null}, "macro.dbt_postgres.postgres__check_schema_exists": {"name": "postgres__check_schema_exists", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__check_schema_exists", "macro_sql": "{% macro postgres__check_schema_exists(information_schema, schema) -%}\n {% if information_schema.database -%}\n {{ adapter.verify_database(information_schema.database) }}\n {%- endif -%}\n {% call statement('check_schema_exists', fetch_result=True, auto_begin=False) %}\n select count(*) from pg_namespace where nspname = '{{ schema }}'\n {% endcall %}\n {{ return(load_result('check_schema_exists').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7330046, "supported_languages": null}, "macro.dbt_postgres.postgres__make_relation_with_suffix": {"name": "postgres__make_relation_with_suffix", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_relation_with_suffix", "macro_sql": "{% macro postgres__make_relation_with_suffix(base_relation, suffix, dstring) %}\n {% if dstring %}\n {% set dt = modules.datetime.datetime.now() %}\n {% set dtstring = dt.strftime(\"%H%M%S%f\") %}\n {% set suffix = suffix ~ dtstring %}\n {% endif %}\n {% set suffix_length = suffix|length %}\n {% set relation_max_name_length = base_relation.relation_max_name_length() %}\n {% if suffix_length > relation_max_name_length %}\n {% do exceptions.raise_compiler_error('Relation suffix is too long (' ~ suffix_length ~ ' characters). Maximum length is ' ~ relation_max_name_length ~ ' characters.') %}\n {% endif %}\n {% set identifier = base_relation.identifier[:relation_max_name_length - suffix_length] ~ suffix %}\n\n {{ return(base_relation.incorporate(path={\"identifier\": identifier })) }}\n\n {% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7345982, "supported_languages": null}, "macro.dbt_postgres.postgres__make_intermediate_relation": {"name": "postgres__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_intermediate_relation", "macro_sql": "{% macro postgres__make_intermediate_relation(base_relation, suffix) %}\n {{ return(postgres__make_relation_with_suffix(base_relation, suffix, dstring=False)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7349756, "supported_languages": null}, "macro.dbt_postgres.postgres__make_temp_relation": {"name": "postgres__make_temp_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_temp_relation", "macro_sql": "{% macro postgres__make_temp_relation(base_relation, suffix) %}\n {% set temp_relation = postgres__make_relation_with_suffix(base_relation, suffix, dstring=True) %}\n {{ return(temp_relation.incorporate(path={\"schema\": none,\n \"database\": none})) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7355778, "supported_languages": null}, "macro.dbt_postgres.postgres__make_backup_relation": {"name": "postgres__make_backup_relation", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__make_backup_relation", "macro_sql": "{% macro postgres__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {% set backup_relation = postgres__make_relation_with_suffix(base_relation, suffix, dstring=False) %}\n {{ return(backup_relation.incorporate(type=backup_relation_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_relation_with_suffix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7361047, "supported_languages": null}, "macro.dbt_postgres.postgres_escape_comment": {"name": "postgres_escape_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres_escape_comment", "macro_sql": "{% macro postgres_escape_comment(comment) -%}\n {% if comment is not string %}\n {% do exceptions.raise_compiler_error('cannot escape a non-string: ' ~ comment) %}\n {% endif %}\n {%- set magic = '$dbt_comment_literal_block$' -%}\n {%- if magic in comment -%}\n {%- do exceptions.raise_compiler_error('The string ' ~ magic ~ ' is not allowed in comments.') -%}\n {%- endif -%}\n {{ magic }}{{ comment }}{{ magic }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7369325, "supported_languages": null}, "macro.dbt_postgres.postgres__alter_relation_comment": {"name": "postgres__alter_relation_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__alter_relation_comment", "macro_sql": "{% macro postgres__alter_relation_comment(relation, comment) %}\n {% set escaped_comment = postgres_escape_comment(comment) %}\n comment on {{ relation.type }} {{ relation }} is {{ escaped_comment }};\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres_escape_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7373903, "supported_languages": null}, "macro.dbt_postgres.postgres__alter_column_comment": {"name": "postgres__alter_column_comment", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__alter_column_comment", "macro_sql": "{% macro postgres__alter_column_comment(relation, column_dict) %}\n {% set existing_columns = adapter.get_columns_in_relation(relation) | map(attribute=\"name\") | list %}\n {% for column_name in column_dict if (column_name in existing_columns) %}\n {% set comment = column_dict[column_name]['description'] %}\n {% set escaped_comment = postgres_escape_comment(comment) %}\n comment on column {{ relation }}.{{ adapter.quote(column_name) if column_dict[column_name]['quote'] else column_name }} is {{ escaped_comment }};\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres_escape_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7385218, "supported_languages": null}, "macro.dbt_postgres.postgres__get_show_grant_sql": {"name": "postgres__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_show_grant_sql", "macro_sql": "\n\n{%- macro postgres__get_show_grant_sql(relation) -%}\n select grantee, privilege_type\n from {{ relation.information_schema('role_table_grants') }}\n where grantor = current_role\n and grantee != current_role\n and table_schema = '{{ relation.schema }}'\n and table_name = '{{ relation.identifier }}'\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.738911, "supported_languages": null}, "macro.dbt_postgres.postgres__copy_grants": {"name": "postgres__copy_grants", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__copy_grants", "macro_sql": "{% macro postgres__copy_grants() %}\n {{ return(False) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7391398, "supported_languages": null}, "macro.dbt_postgres.postgres__get_show_indexes_sql": {"name": "postgres__get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_show_indexes_sql", "macro_sql": "{% macro postgres__get_show_indexes_sql(relation) %}\n select\n i.relname as name,\n m.amname as method,\n ix.indisunique as \"unique\",\n array_to_string(array_agg(a.attname), ',') as column_names\n from pg_index ix\n join pg_class i\n on i.oid = ix.indexrelid\n join pg_am m\n on m.oid=i.relam\n join pg_class t\n on t.oid = ix.indrelid\n join pg_namespace n\n on n.oid = t.relnamespace\n join pg_attribute a\n on a.attrelid = t.oid\n and a.attnum = ANY(ix.indkey)\n where t.relname = '{{ relation.identifier }}'\n and n.nspname = '{{ relation.schema }}'\n and t.relkind in ('r', 'm')\n group by 1, 2, 3\n order by 1, 2, 3\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.739471, "supported_languages": null}, "macro.dbt_postgres.postgres__get_drop_index_sql": {"name": "postgres__get_drop_index_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_postgres.postgres__get_drop_index_sql", "macro_sql": "\n\n\n{%- macro postgres__get_drop_index_sql(relation, index_name) -%}\n drop index if exists \"{{ relation.schema }}\".\"{{ index_name }}\"\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.739747, "supported_languages": null}, "macro.dbt_postgres.postgres__get_replace_view_sql": {"name": "postgres__get_replace_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt_postgres.postgres__get_replace_view_sql", "macro_sql": "{% macro postgres__get_replace_view_sql(relation, sql) -%}\n\n {%- set sql_header = config.get('sql_header', none) -%}\n {{ sql_header if sql_header is not none }}\n\n create or replace view {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {%- endif %}\n as (\n {{ sql }}\n );\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7408087, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_view": {"name": "postgres__drop_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_view", "macro_sql": "{% macro postgres__drop_view(relation) -%}\n drop view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.741115, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_view_sql": {"name": "postgres__get_rename_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_view_sql", "macro_sql": "{% macro postgres__get_rename_view_sql(relation, new_name) %}\n alter view {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7414486, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_materialized_view": {"name": "postgres__drop_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_materialized_view", "macro_sql": "{% macro postgres__drop_materialized_view(relation) -%}\n drop materialized view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7417116, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_materialized_view_sql": {"name": "postgres__get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_materialized_view_sql", "macro_sql": "{% macro postgres__get_rename_materialized_view_sql(relation, new_name) %}\n alter materialized view {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.742037, "supported_languages": null}, "macro.dbt_postgres.postgres__describe_materialized_view": {"name": "postgres__describe_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/describe.sql", "original_file_path": "macros/relations/materialized_view/describe.sql", "unique_id": "macro.dbt_postgres.postgres__describe_materialized_view", "macro_sql": "{% macro postgres__describe_materialized_view(relation) %}\n -- for now just get the indexes, we don't need the name or the query yet\n {% set _indexes = run_query(get_show_indexes_sql(relation)) %}\n {% do return({'indexes': _indexes}) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_indexes_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7426035, "supported_languages": null}, "macro.dbt_postgres.postgres__refresh_materialized_view": {"name": "postgres__refresh_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt_postgres.postgres__refresh_materialized_view", "macro_sql": "{% macro postgres__refresh_materialized_view(relation) %}\n refresh materialized view {{ relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7428665, "supported_languages": null}, "macro.dbt_postgres.postgres__get_create_materialized_view_as_sql": {"name": "postgres__get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt_postgres.postgres__get_create_materialized_view_as_sql", "macro_sql": "{% macro postgres__get_create_materialized_view_as_sql(relation, sql) %}\n create materialized view if not exists {{ relation }} as {{ sql }};\n\n {% for _index_dict in config.get('indexes', []) -%}\n {{- get_create_index_sql(relation, _index_dict) -}}{{ ';' if not loop.last else \"\" }}\n {%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7436764, "supported_languages": null}, "macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql": {"name": "postgres__get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql", "macro_sql": "{% macro postgres__get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n\n -- apply a full refresh immediately if needed\n {% if configuration_changes.requires_full_refresh %}\n\n {{ get_replace_sql(existing_relation, relation, sql) }}\n\n -- otherwise apply individual changes as needed\n {% else %}\n\n {{ postgres__update_indexes_on_materialized_view(relation, configuration_changes.indexes) }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_replace_sql", "macro.dbt_postgres.postgres__update_indexes_on_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7450845, "supported_languages": null}, "macro.dbt_postgres.postgres__update_indexes_on_materialized_view": {"name": "postgres__update_indexes_on_materialized_view", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__update_indexes_on_materialized_view", "macro_sql": "\n\n\n{%- macro postgres__update_indexes_on_materialized_view(relation, index_changes) -%}\n {{- log(\"Applying UPDATE INDEXES to: \" ~ relation) -}}\n\n {%- for _index_change in index_changes -%}\n {%- set _index = _index_change.context -%}\n\n {%- if _index_change.action == \"drop\" -%}\n\n {{ postgres__get_drop_index_sql(relation, _index.name) }}\n\n {%- elif _index_change.action == \"create\" -%}\n\n {{ postgres__get_create_index_sql(relation, _index.as_node_config) }}\n\n {%- endif -%}\n\t{{ ';' if not loop.last else \"\" }}\n\n {%- endfor -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_drop_index_sql", "macro.dbt_postgres.postgres__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.746234, "supported_languages": null}, "macro.dbt_postgres.postgres__get_materialized_view_configuration_changes": {"name": "postgres__get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt_postgres.postgres__get_materialized_view_configuration_changes", "macro_sql": "{% macro postgres__get_materialized_view_configuration_changes(existing_relation, new_config) %}\n {% set _existing_materialized_view = postgres__describe_materialized_view(existing_relation) %}\n {% set _configuration_changes = existing_relation.get_materialized_view_config_change_collection(_existing_materialized_view, new_config.model) %}\n {% do return(_configuration_changes) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__describe_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7467914, "supported_languages": null}, "macro.dbt_postgres.postgres__get_replace_table_sql": {"name": "postgres__get_replace_table_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt_postgres.postgres__get_replace_table_sql", "macro_sql": "{% macro postgres__get_replace_table_sql(relation, sql) -%}\n\n {%- set sql_header = config.get('sql_header', none) -%}\n {{ sql_header if sql_header is not none }}\n\n create or replace table {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {{ get_table_columns_and_constraints() }}\n {%- set sql = get_select_subquery(sql) %}\n {% endif %}\n as (\n {{ sql }}\n );\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7480118, "supported_languages": null}, "macro.dbt_postgres.postgres__drop_table": {"name": "postgres__drop_table", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt_postgres.postgres__drop_table", "macro_sql": "{% macro postgres__drop_table(relation) -%}\n drop table if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7482796, "supported_languages": null}, "macro.dbt_postgres.postgres__get_rename_table_sql": {"name": "postgres__get_rename_table_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt_postgres.postgres__get_rename_table_sql", "macro_sql": "{% macro postgres__get_rename_table_sql(relation, new_name) %}\n alter table {{ relation }} rename to {{ new_name }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7485962, "supported_languages": null}, "macro.dbt_postgres.postgres__any_value": {"name": "postgres__any_value", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt_postgres.postgres__any_value", "macro_sql": "{% macro postgres__any_value(expression) -%}\n\n min({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.748858, "supported_languages": null}, "macro.dbt_postgres.postgres__listagg": {"name": "postgres__listagg", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt_postgres.postgres__listagg", "macro_sql": "{% macro postgres__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n (array_agg(\n {{ measure }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n ))[1:{{ limit_num }}],\n {{ delimiter_text }}\n )\n {%- else %}\n string_agg(\n {{ measure }},\n {{ delimiter_text }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n )\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.749937, "supported_languages": null}, "macro.dbt_postgres.postgres__split_part": {"name": "postgres__split_part", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt_postgres.postgres__split_part", "macro_sql": "{% macro postgres__split_part(string_text, delimiter_text, part_number) %}\n\n {% if part_number >= 0 %}\n {{ dbt.default__split_part(string_text, delimiter_text, part_number) }}\n {% else %}\n {{ dbt._split_part_negative(string_text, delimiter_text, part_number) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__split_part", "macro.dbt._split_part_negative"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7506797, "supported_languages": null}, "macro.dbt_postgres.postgres__dateadd": {"name": "postgres__dateadd", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt_postgres.postgres__dateadd", "macro_sql": "{% macro postgres__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n {{ from_date_or_timestamp }} + ((interval '1 {{ datepart }}') * ({{ interval }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7510786, "supported_languages": null}, "macro.dbt_postgres.postgres__last_day": {"name": "postgres__last_day", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt_postgres.postgres__last_day", "macro_sql": "{% macro postgres__last_day(date, datepart) -%}\n\n {%- if datepart == 'quarter' -%}\n -- postgres dateadd does not support quarter interval.\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd('month', '3', dbt.date_trunc(datepart, date))\n )}}\n as date)\n {%- else -%}\n {{dbt.default_last_day(date, datepart)}}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc", "macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.751982, "supported_languages": null}, "macro.dbt_postgres.postgres__datediff": {"name": "postgres__datediff", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt_postgres.postgres__datediff", "macro_sql": "{% macro postgres__datediff(first_date, second_date, datepart) -%}\n\n {% if datepart == 'year' %}\n (date_part('year', ({{second_date}})::date) - date_part('year', ({{first_date}})::date))\n {% elif datepart == 'quarter' %}\n ({{ datediff(first_date, second_date, 'year') }} * 4 + date_part('quarter', ({{second_date}})::date) - date_part('quarter', ({{first_date}})::date))\n {% elif datepart == 'month' %}\n ({{ datediff(first_date, second_date, 'year') }} * 12 + date_part('month', ({{second_date}})::date) - date_part('month', ({{first_date}})::date))\n {% elif datepart == 'day' %}\n (({{second_date}})::date - ({{first_date}})::date)\n {% elif datepart == 'week' %}\n ({{ datediff(first_date, second_date, 'day') }} / 7 + case\n when date_part('dow', ({{first_date}})::timestamp) <= date_part('dow', ({{second_date}})::timestamp) then\n case when {{first_date}} <= {{second_date}} then 0 else -1 end\n else\n case when {{first_date}} <= {{second_date}} then 1 else 0 end\n end)\n {% elif datepart == 'hour' %}\n ({{ datediff(first_date, second_date, 'day') }} * 24 + date_part('hour', ({{second_date}})::timestamp) - date_part('hour', ({{first_date}})::timestamp))\n {% elif datepart == 'minute' %}\n ({{ datediff(first_date, second_date, 'hour') }} * 60 + date_part('minute', ({{second_date}})::timestamp) - date_part('minute', ({{first_date}})::timestamp))\n {% elif datepart == 'second' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60 + floor(date_part('second', ({{second_date}})::timestamp)) - floor(date_part('second', ({{first_date}})::timestamp)))\n {% elif datepart == 'millisecond' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60000 + floor(date_part('millisecond', ({{second_date}})::timestamp)) - floor(date_part('millisecond', ({{first_date}})::timestamp)))\n {% elif datepart == 'microsecond' %}\n ({{ datediff(first_date, second_date, 'minute') }} * 60000000 + floor(date_part('microsecond', ({{second_date}})::timestamp)) - floor(date_part('microsecond', ({{first_date}})::timestamp)))\n {% else %}\n {{ exceptions.raise_compiler_error(\"Unsupported datepart for macro datediff in postgres: {!r}\".format(datepart)) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7572665, "supported_languages": null}, "macro.dbt_postgres.postgres__snapshot_merge_sql": {"name": "postgres__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/materializations/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshot_merge.sql", "unique_id": "macro.dbt_postgres.postgres__snapshot_merge_sql", "macro_sql": "{% macro postgres__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n update {{ target }}\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n from {{ source }} as DBT_INTERNAL_SOURCE\n where DBT_INTERNAL_SOURCE.dbt_scd_id::text = {{ target }}.dbt_scd_id::text\n and DBT_INTERNAL_SOURCE.dbt_change_type::text in ('update'::text, 'delete'::text)\n and {{ target }}.dbt_valid_to is null;\n\n insert into {{ target }} ({{ insert_cols_csv }})\n select {% for column in insert_cols -%}\n DBT_INTERNAL_SOURCE.{{ column }} {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n from {{ source }} as DBT_INTERNAL_SOURCE\n where DBT_INTERNAL_SOURCE.dbt_change_type::text = 'insert'::text;\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7585583, "supported_languages": null}, "macro.dbt_postgres.postgres__get_incremental_default_sql": {"name": "postgres__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt_postgres", "path": "macros/materializations/incremental_strategies.sql", "original_file_path": "macros/materializations/incremental_strategies.sql", "unique_id": "macro.dbt_postgres.postgres__get_incremental_default_sql", "macro_sql": "{% macro postgres__get_incremental_default_sql(arg_dict) %}\n\n {% if arg_dict[\"unique_key\"] %}\n {% do return(get_incremental_delete_insert_sql(arg_dict)) %}\n {% else %}\n {% do return(get_incremental_append_sql(arg_dict)) %}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_delete_insert_sql", "macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7592661, "supported_languages": null}, "macro.dbt.default__test_not_null": {"name": "default__test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/not_null.sql", "original_file_path": "macros/generic_test_sql/not_null.sql", "unique_id": "macro.dbt.default__test_not_null", "macro_sql": "{% macro default__test_not_null(model, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else column_name %}\n\nselect {{ column_list }}\nfrom {{ model }}\nwhere {{ column_name }} is null\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7598262, "supported_languages": null}, "macro.dbt.default__test_relationships": {"name": "default__test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/relationships.sql", "original_file_path": "macros/generic_test_sql/relationships.sql", "unique_id": "macro.dbt.default__test_relationships", "macro_sql": "{% macro default__test_relationships(model, column_name, to, field) %}\n\nwith child as (\n select {{ column_name }} as from_field\n from {{ model }}\n where {{ column_name }} is not null\n),\n\nparent as (\n select {{ field }} as to_field\n from {{ to }}\n)\n\nselect\n from_field\n\nfrom child\nleft join parent\n on child.from_field = parent.to_field\n\nwhere parent.to_field is null\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7604241, "supported_languages": null}, "macro.dbt.default__test_unique": {"name": "default__test_unique", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/unique.sql", "original_file_path": "macros/generic_test_sql/unique.sql", "unique_id": "macro.dbt.default__test_unique", "macro_sql": "{% macro default__test_unique(model, column_name) %}\n\nselect\n {{ column_name }} as unique_field,\n count(*) as n_records\n\nfrom {{ model }}\nwhere {{ column_name }} is not null\ngroup by {{ column_name }}\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7608654, "supported_languages": null}, "macro.dbt.default__test_accepted_values": {"name": "default__test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/accepted_values.sql", "original_file_path": "macros/generic_test_sql/accepted_values.sql", "unique_id": "macro.dbt.default__test_accepted_values", "macro_sql": "{% macro default__test_accepted_values(model, column_name, values, quote=True) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field,\n count(*) as n_records\n\n from {{ model }}\n group by {{ column_name }}\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7620537, "supported_languages": null}, "macro.dbt.generate_schema_name": {"name": "generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name", "macro_sql": "{% macro generate_schema_name(custom_schema_name=none, node=none) -%}\n {{ return(adapter.dispatch('generate_schema_name', 'dbt')(custom_schema_name, node)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7629123, "supported_languages": null}, "macro.dbt.default__generate_schema_name": {"name": "default__generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.default__generate_schema_name", "macro_sql": "{% macro default__generate_schema_name(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if custom_schema_name is none -%}\n\n {{ default_schema }}\n\n {%- else -%}\n\n {{ default_schema }}_{{ custom_schema_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.763543, "supported_languages": null}, "macro.dbt.generate_schema_name_for_env": {"name": "generate_schema_name_for_env", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name_for_env", "macro_sql": "{% macro generate_schema_name_for_env(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if target.name == 'prod' and custom_schema_name is not none -%}\n\n {{ custom_schema_name | trim }}\n\n {%- else -%}\n\n {{ default_schema }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7640967, "supported_languages": null}, "macro.dbt.generate_alias_name": {"name": "generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.generate_alias_name", "macro_sql": "{% macro generate_alias_name(custom_alias_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_alias_name', 'dbt')(custom_alias_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_alias_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7647972, "supported_languages": null}, "macro.dbt.default__generate_alias_name": {"name": "default__generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.default__generate_alias_name", "macro_sql": "{% macro default__generate_alias_name(custom_alias_name=none, node=none) -%}\n\n {%- if custom_alias_name -%}\n\n {{ custom_alias_name | trim }}\n\n {%- elif node.version -%}\n\n {{ return(node.name ~ \"_v\" ~ (node.version | replace(\".\", \"_\"))) }}\n\n {%- else -%}\n\n {{ node.name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7655406, "supported_languages": null}, "macro.dbt.generate_database_name": {"name": "generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.generate_database_name", "macro_sql": "{% macro generate_database_name(custom_database_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_database_name', 'dbt')(custom_database_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_database_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.766206, "supported_languages": null}, "macro.dbt.default__generate_database_name": {"name": "default__generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.default__generate_database_name", "macro_sql": "{% macro default__generate_database_name(custom_database_name=none, node=none) -%}\n {%- set default_database = target.database -%}\n {%- if custom_database_name is none -%}\n\n {{ default_database }}\n\n {%- else -%}\n\n {{ custom_database_name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7666953, "supported_languages": null}, "macro.dbt.get_fixture_sql": {"name": "get_fixture_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.get_fixture_sql", "macro_sql": "{% macro get_fixture_sql(rows, column_name_to_data_types) %}\n-- Fixture for {{ model.name }}\n{% set default_row = {} %}\n\n{%- if not column_name_to_data_types -%}\n{#-- Use defer_relation IFF it is available in the manifest and 'this' is missing from the database --#}\n{%- set this_or_defer_relation = defer_relation if (defer_relation and not load_relation(this)) else this -%}\n{%- set columns_in_relation = adapter.get_columns_in_relation(this_or_defer_relation) -%}\n\n{%- set column_name_to_data_types = {} -%}\n{%- for column in columns_in_relation -%}\n{#-- This needs to be a case-insensitive comparison --#}\n{%- do column_name_to_data_types.update({column.name|lower: column.data_type}) -%}\n{%- endfor -%}\n{%- endif -%}\n\n{%- if not column_name_to_data_types -%}\n {{ exceptions.raise_compiler_error(\"Not able to get columns for unit test '\" ~ model.name ~ \"' from relation \" ~ this ~ \" because the relation doesn't exist\") }}\n{%- endif -%}\n\n{%- for column_name, column_type in column_name_to_data_types.items() -%}\n {%- do default_row.update({column_name: (safe_cast(\"null\", column_type) | trim )}) -%}\n{%- endfor -%}\n\n\n{%- for row in rows -%}\n{%- set formatted_row = format_row(row, column_name_to_data_types) -%}\n{%- set default_row_copy = default_row.copy() -%}\n{%- do default_row_copy.update(formatted_row) -%}\nselect\n{%- for column_name, column_value in default_row_copy.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%}, {%- endif %}\n{%- endfor %}\n{%- if not loop.last %}\nunion all\n{% endif %}\n{%- endfor -%}\n\n{%- if (rows | length) == 0 -%}\n select\n {%- for column_name, column_value in default_row.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%},{%- endif %}\n {%- endfor %}\n limit 0\n{%- endif -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_relation", "macro.dbt.safe_cast", "macro.dbt.format_row"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7721217, "supported_languages": null}, "macro.dbt.get_expected_sql": {"name": "get_expected_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.get_expected_sql", "macro_sql": "{% macro get_expected_sql(rows, column_name_to_data_types) %}\n\n{%- if (rows | length) == 0 -%}\n select * from dbt_internal_unit_test_actual\n limit 0\n{%- else -%}\n{%- for row in rows -%}\n{%- set formatted_row = format_row(row, column_name_to_data_types) -%}\nselect\n{%- for column_name, column_value in formatted_row.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last -%}, {%- endif %}\n{%- endfor %}\n{%- if not loop.last %}\nunion all\n{% endif %}\n{%- endfor -%}\n{%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.format_row"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7731972, "supported_languages": null}, "macro.dbt.format_row": {"name": "format_row", "resource_type": "macro", "package_name": "dbt", "path": "macros/unit_test_sql/get_fixture_sql.sql", "original_file_path": "macros/unit_test_sql/get_fixture_sql.sql", "unique_id": "macro.dbt.format_row", "macro_sql": "\n\n{%- macro format_row(row, column_name_to_data_types) -%}\n {#-- generate case-insensitive formatted row --#}\n {% set formatted_row = {} %}\n {%- for column_name, column_value in row.items() -%}\n {% set column_name = column_name|lower %}\n\n {%- if column_name not in column_name_to_data_types %}\n {#-- if user-provided row contains column name that relation does not contain, raise an error --#}\n {% set fixture_name = \"expected output\" if model.resource_type == 'unit_test' else (\"'\" ~ model.name ~ \"'\") %}\n {{ exceptions.raise_compiler_error(\n \"Invalid column name: '\" ~ column_name ~ \"' in unit test fixture for \" ~ fixture_name ~ \".\"\n \"\\nAccepted columns for \" ~ fixture_name ~ \" are: \" ~ (column_name_to_data_types.keys()|list)\n ) }}\n {%- endif -%}\n\n {%- set column_type = column_name_to_data_types[column_name] %}\n\n {#-- sanitize column_value: wrap yaml strings in quotes, apply cast --#}\n {%- set column_value_clean = column_value -%}\n {%- if column_value is string -%}\n {%- set column_value_clean = dbt.string_literal(dbt.escape_single_quotes(column_value)) -%}\n {%- elif column_value is none -%}\n {%- set column_value_clean = 'null' -%}\n {%- endif -%}\n\n {%- set row_update = {column_name: safe_cast(column_value_clean, column_type) } -%}\n {%- do formatted_row.update(row_update) -%}\n {%- endfor -%}\n {{ return(formatted_row) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.string_literal", "macro.dbt.escape_single_quotes", "macro.dbt.safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7753167, "supported_languages": null}, "macro.dbt.get_create_index_sql": {"name": "get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_create_index_sql", "macro_sql": "{% macro get_create_index_sql(relation, index_dict) -%}\n {{ return(adapter.dispatch('get_create_index_sql', 'dbt')(relation, index_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7766633, "supported_languages": null}, "macro.dbt.default__get_create_index_sql": {"name": "default__get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_create_index_sql", "macro_sql": "{% macro default__get_create_index_sql(relation, index_dict) -%}\n {% do return(None) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7769334, "supported_languages": null}, "macro.dbt.create_indexes": {"name": "create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.create_indexes", "macro_sql": "{% macro create_indexes(relation) -%}\n {{ adapter.dispatch('create_indexes', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7772644, "supported_languages": null}, "macro.dbt.default__create_indexes": {"name": "default__create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__create_indexes", "macro_sql": "{% macro default__create_indexes(relation) -%}\n {%- set _indexes = config.get('indexes', default=[]) -%}\n\n {% for _index_dict in _indexes %}\n {% set create_index_sql = get_create_index_sql(relation, _index_dict) %}\n {% if create_index_sql %}\n {% do run_query(create_index_sql) %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7780313, "supported_languages": null}, "macro.dbt.get_drop_index_sql": {"name": "get_drop_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_drop_index_sql", "macro_sql": "{% macro get_drop_index_sql(relation, index_name) -%}\n {{ adapter.dispatch('get_drop_index_sql', 'dbt')(relation, index_name) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_drop_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.778388, "supported_languages": null}, "macro.dbt.default__get_drop_index_sql": {"name": "default__get_drop_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_drop_index_sql", "macro_sql": "{% macro default__get_drop_index_sql(relation, index_name) -%}\n {{ exceptions.raise_compiler_error(\"`get_drop_index_sql has not been implemented for this adapter.\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.778652, "supported_languages": null}, "macro.dbt.get_show_indexes_sql": {"name": "get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_show_indexes_sql", "macro_sql": "{% macro get_show_indexes_sql(relation) -%}\n {{ adapter.dispatch('get_show_indexes_sql', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_show_indexes_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7789485, "supported_languages": null}, "macro.dbt.default__get_show_indexes_sql": {"name": "default__get_show_indexes_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_show_indexes_sql", "macro_sql": "{% macro default__get_show_indexes_sql(relation) -%}\n {{ exceptions.raise_compiler_error(\"`get_show_indexes_sql has not been implemented for this adapter.\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7791898, "supported_languages": null}, "macro.dbt.get_columns_in_relation": {"name": "get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_relation", "macro_sql": "{% macro get_columns_in_relation(relation) -%}\n {{ return(adapter.dispatch('get_columns_in_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.782567, "supported_languages": null}, "macro.dbt.default__get_columns_in_relation": {"name": "default__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_relation", "macro_sql": "{% macro default__get_columns_in_relation(relation) -%}\n {{ exceptions.raise_not_implemented(\n 'get_columns_in_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.782877, "supported_languages": null}, "macro.dbt.sql_convert_columns_in_relation": {"name": "sql_convert_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.sql_convert_columns_in_relation", "macro_sql": "{% macro sql_convert_columns_in_relation(table) -%}\n {% set columns = [] %}\n {% for row in table %}\n {% do columns.append(api.Column(*row)) %}\n {% endfor %}\n {{ return(columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.783583, "supported_languages": null}, "macro.dbt.get_empty_subquery_sql": {"name": "get_empty_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_empty_subquery_sql", "macro_sql": "{% macro get_empty_subquery_sql(select_sql, select_sql_header=none) -%}\n {{ return(adapter.dispatch('get_empty_subquery_sql', 'dbt')(select_sql, select_sql_header)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7839975, "supported_languages": null}, "macro.dbt.default__get_empty_subquery_sql": {"name": "default__get_empty_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_empty_subquery_sql", "macro_sql": "{% macro default__get_empty_subquery_sql(select_sql, select_sql_header=none) %}\n {%- if select_sql_header is not none -%}\n {{ select_sql_header }}\n {%- endif -%}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.78439, "supported_languages": null}, "macro.dbt.get_empty_schema_sql": {"name": "get_empty_schema_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_empty_schema_sql", "macro_sql": "{% macro get_empty_schema_sql(columns) -%}\n {{ return(adapter.dispatch('get_empty_schema_sql', 'dbt')(columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_empty_schema_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7847307, "supported_languages": null}, "macro.dbt.default__get_empty_schema_sql": {"name": "default__get_empty_schema_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_empty_schema_sql", "macro_sql": "{% macro default__get_empty_schema_sql(columns) %}\n {%- set col_err = [] -%}\n {%- set col_naked_numeric = [] -%}\n select\n {% for i in columns %}\n {%- set col = columns[i] -%}\n {%- if col['data_type'] is not defined -%}\n {%- do col_err.append(col['name']) -%}\n {#-- If this column's type is just 'numeric' then it is missing precision/scale, raise a warning --#}\n {%- elif col['data_type'].strip().lower() in ('numeric', 'decimal', 'number') -%}\n {%- do col_naked_numeric.append(col['name']) -%}\n {%- endif -%}\n {% set col_name = adapter.quote(col['name']) if col.get('quote') else col['name'] %}\n {{ cast('null', col['data_type']) }} as {{ col_name }}{{ \", \" if not loop.last }}\n {%- endfor -%}\n {%- if (col_err | length) > 0 -%}\n {{ exceptions.column_type_missing(column_names=col_err) }}\n {%- elif (col_naked_numeric | length) > 0 -%}\n {{ exceptions.warn(\"Detected columns with numeric type and unspecified precision/scale, this can lead to unintended rounding: \" ~ col_naked_numeric ~ \"`\") }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7869244, "supported_languages": null}, "macro.dbt.get_column_schema_from_query": {"name": "get_column_schema_from_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_column_schema_from_query", "macro_sql": "{% macro get_column_schema_from_query(select_sql, select_sql_header=none) -%}\n {% set columns = [] %}\n {# -- Using an 'empty subquery' here to get the same schema as the given select_sql statement, without necessitating a data scan.#}\n {% set sql = get_empty_subquery_sql(select_sql, select_sql_header) %}\n {% set column_schema = adapter.get_column_schema_from_query(sql) %}\n {{ return(column_schema) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.787568, "supported_languages": null}, "macro.dbt.get_columns_in_query": {"name": "get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_query", "macro_sql": "{% macro get_columns_in_query(select_sql) -%}\n {{ return(adapter.dispatch('get_columns_in_query', 'dbt')(select_sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7879252, "supported_languages": null}, "macro.dbt.default__get_columns_in_query": {"name": "default__get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_query", "macro_sql": "{% macro default__get_columns_in_query(select_sql) %}\n {% call statement('get_columns_in_query', fetch_result=True, auto_begin=False) -%}\n {{ get_empty_subquery_sql(select_sql) }}\n {% endcall %}\n {{ return(load_result('get_columns_in_query').table.columns | map(attribute='name') | list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.get_empty_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7885861, "supported_languages": null}, "macro.dbt.alter_column_type": {"name": "alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_column_type", "macro_sql": "{% macro alter_column_type(relation, column_name, new_column_type) -%}\n {{ return(adapter.dispatch('alter_column_type', 'dbt')(relation, column_name, new_column_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7890735, "supported_languages": null}, "macro.dbt.default__alter_column_type": {"name": "default__alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_column_type", "macro_sql": "{% macro default__alter_column_type(relation, column_name, new_column_type) -%}\n {#\n 1. Create a new column (w/ temp name and correct type)\n 2. Copy data over to it\n 3. Drop the existing column (cascade!)\n 4. Rename the new column to existing column\n #}\n {%- set tmp_column = column_name + \"__dbt_alter\" -%}\n\n {% call statement('alter_column_type') %}\n alter table {{ relation }} add column {{ adapter.quote(tmp_column) }} {{ new_column_type }};\n update {{ relation }} set {{ adapter.quote(tmp_column) }} = {{ adapter.quote(column_name) }};\n alter table {{ relation }} drop column {{ adapter.quote(column_name) }} cascade;\n alter table {{ relation }} rename column {{ adapter.quote(tmp_column) }} to {{ adapter.quote(column_name) }}\n {% endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7902162, "supported_languages": null}, "macro.dbt.alter_relation_add_remove_columns": {"name": "alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_relation_add_remove_columns", "macro_sql": "{% macro alter_relation_add_remove_columns(relation, add_columns = none, remove_columns = none) -%}\n {{ return(adapter.dispatch('alter_relation_add_remove_columns', 'dbt')(relation, add_columns, remove_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_add_remove_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.790707, "supported_languages": null}, "macro.dbt.default__alter_relation_add_remove_columns": {"name": "default__alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_relation_add_remove_columns", "macro_sql": "{% macro default__alter_relation_add_remove_columns(relation, add_columns, remove_columns) %}\n\n {% if add_columns is none %}\n {% set add_columns = [] %}\n {% endif %}\n {% if remove_columns is none %}\n {% set remove_columns = [] %}\n {% endif %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}{{ ',' if add_columns and remove_columns }}\n\n {% for column in remove_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {% do run_query(sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7922082, "supported_languages": null}, "macro.dbt.alter_column_comment": {"name": "alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_column_comment", "macro_sql": "{% macro alter_column_comment(relation, column_dict) -%}\n {{ return(adapter.dispatch('alter_column_comment', 'dbt')(relation, column_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7933428, "supported_languages": null}, "macro.dbt.default__alter_column_comment": {"name": "default__alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_column_comment", "macro_sql": "{% macro default__alter_column_comment(relation, column_dict) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_column_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.793672, "supported_languages": null}, "macro.dbt.alter_relation_comment": {"name": "alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_relation_comment", "macro_sql": "{% macro alter_relation_comment(relation, relation_comment) -%}\n {{ return(adapter.dispatch('alter_relation_comment', 'dbt')(relation, relation_comment)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__alter_relation_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.794059, "supported_languages": null}, "macro.dbt.default__alter_relation_comment": {"name": "default__alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_relation_comment", "macro_sql": "{% macro default__alter_relation_comment(relation, relation_comment) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_relation_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7943752, "supported_languages": null}, "macro.dbt.persist_docs": {"name": "persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.persist_docs", "macro_sql": "{% macro persist_docs(relation, model, for_relation=true, for_columns=true) -%}\n {{ return(adapter.dispatch('persist_docs', 'dbt')(relation, model, for_relation, for_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7948692, "supported_languages": null}, "macro.dbt.default__persist_docs": {"name": "default__persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__persist_docs", "macro_sql": "{% macro default__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_relation and config.persist_relation_docs() and model.description %}\n {% do run_query(alter_relation_comment(relation, model.description)) %}\n {% endif %}\n\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do run_query(alter_column_comment(relation, model.columns)) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.alter_relation_comment", "macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.7957642, "supported_languages": null}, "macro.dbt.get_catalog_relations": {"name": "get_catalog_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog_relations", "macro_sql": "{% macro get_catalog_relations(information_schema, relations) -%}\n {{ return(adapter.dispatch('get_catalog_relations', 'dbt')(information_schema, relations)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.800905, "supported_languages": null}, "macro.dbt.default__get_catalog_relations": {"name": "default__get_catalog_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog_relations", "macro_sql": "{% macro default__get_catalog_relations(information_schema, relations) -%}\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog_relations not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8015866, "supported_languages": null}, "macro.dbt.get_catalog": {"name": "get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog", "macro_sql": "{% macro get_catalog(information_schema, schemas) -%}\n {{ return(adapter.dispatch('get_catalog', 'dbt')(information_schema, schemas)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_catalog"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.801996, "supported_languages": null}, "macro.dbt.default__get_catalog": {"name": "default__get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog", "macro_sql": "{% macro default__get_catalog(information_schema, schemas) -%}\n\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8025053, "supported_languages": null}, "macro.dbt.information_schema_name": {"name": "information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.information_schema_name", "macro_sql": "{% macro information_schema_name(database) %}\n {{ return(adapter.dispatch('information_schema_name', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__information_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8028665, "supported_languages": null}, "macro.dbt.default__information_schema_name": {"name": "default__information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__information_schema_name", "macro_sql": "{% macro default__information_schema_name(database) -%}\n {%- if database -%}\n {{ database }}.INFORMATION_SCHEMA\n {%- else -%}\n INFORMATION_SCHEMA\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.803185, "supported_languages": null}, "macro.dbt.list_schemas": {"name": "list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_schemas", "macro_sql": "{% macro list_schemas(database) -%}\n {{ return(adapter.dispatch('list_schemas', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__list_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8035333, "supported_languages": null}, "macro.dbt.default__list_schemas": {"name": "default__list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_schemas", "macro_sql": "{% macro default__list_schemas(database) -%}\n {% set sql %}\n select distinct schema_name\n from {{ information_schema_name(database) }}.SCHEMATA\n where catalog_name ilike '{{ database }}'\n {% endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.information_schema_name", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.804002, "supported_languages": null}, "macro.dbt.check_schema_exists": {"name": "check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.check_schema_exists", "macro_sql": "{% macro check_schema_exists(information_schema, schema) -%}\n {{ return(adapter.dispatch('check_schema_exists', 'dbt')(information_schema, schema)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__check_schema_exists"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.804393, "supported_languages": null}, "macro.dbt.default__check_schema_exists": {"name": "default__check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__check_schema_exists", "macro_sql": "{% macro default__check_schema_exists(information_schema, schema) -%}\n {% set sql -%}\n select count(*)\n from {{ information_schema.replace(information_schema_view='SCHEMATA') }}\n where catalog_name='{{ information_schema.database }}'\n and schema_name='{{ schema }}'\n {%- endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.804973, "supported_languages": null}, "macro.dbt.list_relations_without_caching": {"name": "list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_relations_without_caching", "macro_sql": "{% macro list_relations_without_caching(schema_relation) %}\n {{ return(adapter.dispatch('list_relations_without_caching', 'dbt')(schema_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__list_relations_without_caching"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8053634, "supported_languages": null}, "macro.dbt.default__list_relations_without_caching": {"name": "default__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_relations_without_caching", "macro_sql": "{% macro default__list_relations_without_caching(schema_relation) %}\n {{ exceptions.raise_not_implemented(\n 'list_relations_without_caching macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8056843, "supported_languages": null}, "macro.dbt.get_catalog_for_single_relation": {"name": "get_catalog_for_single_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog_for_single_relation", "macro_sql": "{% macro get_catalog_for_single_relation(relation) %}\n {{ return(adapter.dispatch('get_catalog_for_single_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_catalog_for_single_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8060358, "supported_languages": null}, "macro.dbt.default__get_catalog_for_single_relation": {"name": "default__get_catalog_for_single_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog_for_single_relation", "macro_sql": "{% macro default__get_catalog_for_single_relation(relation) %}\n {{ exceptions.raise_not_implemented(\n 'get_catalog_for_single_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.806347, "supported_languages": null}, "macro.dbt.get_relations": {"name": "get_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_relations", "macro_sql": "{% macro get_relations() %}\n {{ return(adapter.dispatch('get_relations', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8066711, "supported_languages": null}, "macro.dbt.default__get_relations": {"name": "default__get_relations", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_relations", "macro_sql": "{% macro default__get_relations() %}\n {{ exceptions.raise_not_implemented(\n 'get_relations macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8069763, "supported_languages": null}, "macro.dbt.get_relation_last_modified": {"name": "get_relation_last_modified", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_relation_last_modified", "macro_sql": "{% macro get_relation_last_modified(information_schema, relations) %}\n {{ return(adapter.dispatch('get_relation_last_modified', 'dbt')(information_schema, relations)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_relation_last_modified"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8073735, "supported_languages": null}, "macro.dbt.default__get_relation_last_modified": {"name": "default__get_relation_last_modified", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_relation_last_modified", "macro_sql": "{% macro default__get_relation_last_modified(information_schema, relations) %}\n {{ exceptions.raise_not_implemented(\n 'get_relation_last_modified macro not implemented for adapter ' + adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.807734, "supported_languages": null}, "macro.dbt.make_intermediate_relation": {"name": "make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_intermediate_relation", "macro_sql": "{% macro make_intermediate_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_intermediate_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_intermediate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8107243, "supported_languages": null}, "macro.dbt.default__make_intermediate_relation": {"name": "default__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_intermediate_relation", "macro_sql": "{% macro default__make_intermediate_relation(base_relation, suffix) %}\n {{ return(default__make_temp_relation(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.811052, "supported_languages": null}, "macro.dbt.make_temp_relation": {"name": "make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_temp_relation", "macro_sql": "{% macro make_temp_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_temp_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8114655, "supported_languages": null}, "macro.dbt.default__make_temp_relation": {"name": "default__make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_temp_relation", "macro_sql": "{% macro default__make_temp_relation(base_relation, suffix) %}\n {%- set temp_identifier = base_relation.identifier ~ suffix -%}\n {%- set temp_relation = base_relation.incorporate(\n path={\"identifier\": temp_identifier}) -%}\n\n {{ return(temp_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8121364, "supported_languages": null}, "macro.dbt.make_backup_relation": {"name": "make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_backup_relation", "macro_sql": "{% macro make_backup_relation(base_relation, backup_relation_type, suffix='__dbt_backup') %}\n {{ return(adapter.dispatch('make_backup_relation', 'dbt')(base_relation, backup_relation_type, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__make_backup_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8126, "supported_languages": null}, "macro.dbt.default__make_backup_relation": {"name": "default__make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_backup_relation", "macro_sql": "{% macro default__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {%- set backup_identifier = base_relation.identifier ~ suffix -%}\n {%- set backup_relation = base_relation.incorporate(\n path={\"identifier\": backup_identifier},\n type=backup_relation_type\n ) -%}\n {{ return(backup_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8132467, "supported_languages": null}, "macro.dbt.truncate_relation": {"name": "truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.truncate_relation", "macro_sql": "{% macro truncate_relation(relation) -%}\n {{ return(adapter.dispatch('truncate_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__truncate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8136055, "supported_languages": null}, "macro.dbt.default__truncate_relation": {"name": "default__truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__truncate_relation", "macro_sql": "{% macro default__truncate_relation(relation) -%}\n {% call statement('truncate_relation') -%}\n truncate table {{ relation }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8139253, "supported_languages": null}, "macro.dbt.get_or_create_relation": {"name": "get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.get_or_create_relation", "macro_sql": "{% macro get_or_create_relation(database, schema, identifier, type) -%}\n {{ return(adapter.dispatch('get_or_create_relation', 'dbt')(database, schema, identifier, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_or_create_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8143973, "supported_languages": null}, "macro.dbt.default__get_or_create_relation": {"name": "default__get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__get_or_create_relation", "macro_sql": "{% macro default__get_or_create_relation(database, schema, identifier, type) %}\n {%- set target_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% if target_relation %}\n {% do return([true, target_relation]) %}\n {% endif %}\n\n {%- set new_relation = api.Relation.create(\n database=database,\n schema=schema,\n identifier=identifier,\n type=type\n ) -%}\n {% do return([false, new_relation]) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8154585, "supported_languages": null}, "macro.dbt.load_cached_relation": {"name": "load_cached_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_cached_relation", "macro_sql": "{% macro load_cached_relation(relation) %}\n {% do return(adapter.get_relation(\n database=relation.database,\n schema=relation.schema,\n identifier=relation.identifier\n )) -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8159022, "supported_languages": null}, "macro.dbt.load_relation": {"name": "load_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_relation", "macro_sql": "{% macro load_relation(relation) %}\n {{ return(load_cached_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8161843, "supported_languages": null}, "macro.dbt.validate_sql": {"name": "validate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/validate_sql.sql", "original_file_path": "macros/adapters/validate_sql.sql", "unique_id": "macro.dbt.validate_sql", "macro_sql": "{% macro validate_sql(sql) -%}\n {{ return(adapter.dispatch('validate_sql', 'dbt')(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__validate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.816716, "supported_languages": null}, "macro.dbt.default__validate_sql": {"name": "default__validate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/validate_sql.sql", "original_file_path": "macros/adapters/validate_sql.sql", "unique_id": "macro.dbt.default__validate_sql", "macro_sql": "{% macro default__validate_sql(sql) -%}\n {% call statement('validate_sql') -%}\n explain {{ sql }}\n {% endcall %}\n {{ return(load_result('validate_sql')) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.817197, "supported_languages": null}, "macro.dbt.current_timestamp": {"name": "current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp", "macro_sql": "{%- macro current_timestamp() -%}\n {{ adapter.dispatch('current_timestamp', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.818034, "supported_languages": null}, "macro.dbt.default__current_timestamp": {"name": "default__current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp", "macro_sql": "{% macro default__current_timestamp() -%}\n {{ exceptions.raise_not_implemented(\n 'current_timestamp macro not implemented for adapter ' + adapter.type()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8183298, "supported_languages": null}, "macro.dbt.snapshot_get_time": {"name": "snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.snapshot_get_time", "macro_sql": "\n\n{%- macro snapshot_get_time() -%}\n {{ adapter.dispatch('snapshot_get_time', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8186073, "supported_languages": null}, "macro.dbt.default__snapshot_get_time": {"name": "default__snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__snapshot_get_time", "macro_sql": "{% macro default__snapshot_get_time() %}\n {{ current_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8188157, "supported_languages": null}, "macro.dbt.current_timestamp_backcompat": {"name": "current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_backcompat", "macro_sql": "{% macro current_timestamp_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8191335, "supported_languages": null}, "macro.dbt.default__current_timestamp_backcompat": {"name": "default__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_backcompat", "macro_sql": "{% macro default__current_timestamp_backcompat() %}\n current_timestamp::timestamp\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8192887, "supported_languages": null}, "macro.dbt.current_timestamp_in_utc_backcompat": {"name": "current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_in_utc_backcompat", "macro_sql": "{% macro current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_in_utc_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__current_timestamp_in_utc_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8195994, "supported_languages": null}, "macro.dbt.default__current_timestamp_in_utc_backcompat": {"name": "default__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro default__current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp_backcompat", "macro.dbt_postgres.postgres__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8199124, "supported_languages": null}, "macro.dbt.get_show_sql": {"name": "get_show_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.get_show_sql", "macro_sql": "{% macro get_show_sql(compiled_code, sql_header, limit) -%}\n {%- if sql_header -%}\n {{ sql_header }}\n {%- endif -%}\n {%- if limit is not none -%}\n {{ get_limit_subquery_sql(compiled_code, limit) }}\n {%- else -%}\n {{ compiled_code }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_limit_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.820831, "supported_languages": null}, "macro.dbt.get_limit_subquery_sql": {"name": "get_limit_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.get_limit_subquery_sql", "macro_sql": "{% macro get_limit_subquery_sql(sql, limit) %}\n {{ adapter.dispatch('get_limit_subquery_sql', 'dbt')(sql, limit) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_limit_subquery_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.821346, "supported_languages": null}, "macro.dbt.default__get_limit_subquery_sql": {"name": "default__get_limit_subquery_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/show.sql", "original_file_path": "macros/adapters/show.sql", "unique_id": "macro.dbt.default__get_limit_subquery_sql", "macro_sql": "{% macro default__get_limit_subquery_sql(sql, limit) %}\n select *\n from (\n {{ sql }}\n ) as model_limit_subq\n limit {{ limit }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.821628, "supported_languages": null}, "macro.dbt.create_schema": {"name": "create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.create_schema", "macro_sql": "{% macro create_schema(relation) -%}\n {{ adapter.dispatch('create_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__create_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8222878, "supported_languages": null}, "macro.dbt.default__create_schema": {"name": "default__create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__create_schema", "macro_sql": "{% macro default__create_schema(relation) -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier() }}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8226576, "supported_languages": null}, "macro.dbt.drop_schema": {"name": "drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.drop_schema", "macro_sql": "{% macro drop_schema(relation) -%}\n {{ adapter.dispatch('drop_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8229678, "supported_languages": null}, "macro.dbt.default__drop_schema": {"name": "default__drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__drop_schema", "macro_sql": "{% macro default__drop_schema(relation) -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier() }} cascade\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8233166, "supported_languages": null}, "macro.dbt.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness', 'dbt')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.824042, "supported_languages": null}, "macro.dbt.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n select\n max({{ loaded_at_field }}) as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endcall %}\n {{ return(load_result('collect_freshness')) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8248181, "supported_languages": null}, "macro.dbt.copy_grants": {"name": "copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.copy_grants", "macro_sql": "{% macro copy_grants() %}\n {{ return(adapter.dispatch('copy_grants', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8274415, "supported_languages": null}, "macro.dbt.default__copy_grants": {"name": "default__copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__copy_grants", "macro_sql": "{% macro default__copy_grants() %}\n {{ return(True) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8276734, "supported_languages": null}, "macro.dbt.support_multiple_grantees_per_dcl_statement": {"name": "support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.support_multiple_grantees_per_dcl_statement", "macro_sql": "{% macro support_multiple_grantees_per_dcl_statement() %}\n {{ return(adapter.dispatch('support_multiple_grantees_per_dcl_statement', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8279967, "supported_languages": null}, "macro.dbt.default__support_multiple_grantees_per_dcl_statement": {"name": "default__support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__support_multiple_grantees_per_dcl_statement", "macro_sql": "\n\n{%- macro default__support_multiple_grantees_per_dcl_statement() -%}\n {{ return(True) }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8282163, "supported_languages": null}, "macro.dbt.should_revoke": {"name": "should_revoke", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.should_revoke", "macro_sql": "{% macro should_revoke(existing_relation, full_refresh_mode=True) %}\n\n {% if not existing_relation %}\n {#-- The table doesn't already exist, so no grants to copy over --#}\n {{ return(False) }}\n {% elif full_refresh_mode %}\n {#-- The object is being REPLACED -- whether grants are copied over depends on the value of user config --#}\n {{ return(copy_grants()) }}\n {% else %}\n {#-- The table is being merged/upserted/inserted -- grants will be carried over --#}\n {{ return(True) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8288758, "supported_languages": null}, "macro.dbt.get_show_grant_sql": {"name": "get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_show_grant_sql", "macro_sql": "{% macro get_show_grant_sql(relation) %}\n {{ return(adapter.dispatch(\"get_show_grant_sql\", \"dbt\")(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_show_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8292549, "supported_languages": null}, "macro.dbt.default__get_show_grant_sql": {"name": "default__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_show_grant_sql", "macro_sql": "{% macro default__get_show_grant_sql(relation) %}\n show grants on {{ relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8294625, "supported_languages": null}, "macro.dbt.get_grant_sql": {"name": "get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_grant_sql", "macro_sql": "{% macro get_grant_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_grant_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8298893, "supported_languages": null}, "macro.dbt.default__get_grant_sql": {"name": "default__get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_grant_sql", "macro_sql": "\n\n{%- macro default__get_grant_sql(relation, privilege, grantees) -%}\n grant {{ privilege }} on {{ relation }} to {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8302495, "supported_languages": null}, "macro.dbt.get_revoke_sql": {"name": "get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_revoke_sql", "macro_sql": "{% macro get_revoke_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_revoke_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_revoke_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8306704, "supported_languages": null}, "macro.dbt.default__get_revoke_sql": {"name": "default__get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_revoke_sql", "macro_sql": "\n\n{%- macro default__get_revoke_sql(relation, privilege, grantees) -%}\n revoke {{ privilege }} on {{ relation }} from {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8311357, "supported_languages": null}, "macro.dbt.get_dcl_statement_list": {"name": "get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_dcl_statement_list", "macro_sql": "{% macro get_dcl_statement_list(relation, grant_config, get_dcl_macro) %}\n {{ return(adapter.dispatch('get_dcl_statement_list', 'dbt')(relation, grant_config, get_dcl_macro)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_dcl_statement_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.83157, "supported_languages": null}, "macro.dbt.default__get_dcl_statement_list": {"name": "default__get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_dcl_statement_list", "macro_sql": "\n\n{%- macro default__get_dcl_statement_list(relation, grant_config, get_dcl_macro) -%}\n {#\n -- Unpack grant_config into specific privileges and the set of users who need them granted/revoked.\n -- Depending on whether this database supports multiple grantees per statement, pass in the list of\n -- all grantees per privilege, or (if not) template one statement per privilege-grantee pair.\n -- `get_dcl_macro` will be either `get_grant_sql` or `get_revoke_sql`\n #}\n {%- set dcl_statements = [] -%}\n {%- for privilege, grantees in grant_config.items() %}\n {%- if support_multiple_grantees_per_dcl_statement() and grantees -%}\n {%- set dcl = get_dcl_macro(relation, privilege, grantees) -%}\n {%- do dcl_statements.append(dcl) -%}\n {%- else -%}\n {%- for grantee in grantees -%}\n {% set dcl = get_dcl_macro(relation, privilege, [grantee]) %}\n {%- do dcl_statements.append(dcl) -%}\n {% endfor -%}\n {%- endif -%}\n {%- endfor -%}\n {{ return(dcl_statements) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8328514, "supported_languages": null}, "macro.dbt.call_dcl_statements": {"name": "call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.call_dcl_statements", "macro_sql": "{% macro call_dcl_statements(dcl_statement_list) %}\n {{ return(adapter.dispatch(\"call_dcl_statements\", \"dbt\")(dcl_statement_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8332362, "supported_languages": null}, "macro.dbt.default__call_dcl_statements": {"name": "default__call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__call_dcl_statements", "macro_sql": "{% macro default__call_dcl_statements(dcl_statement_list) %}\n {#\n -- By default, supply all grant + revoke statements in a single semicolon-separated block,\n -- so that they're all processed together.\n\n -- Some databases do not support this. Those adapters will need to override this macro\n -- to run each statement individually.\n #}\n {% call statement('grants') %}\n {% for dcl_statement in dcl_statement_list %}\n {{ dcl_statement }};\n {% endfor %}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8337126, "supported_languages": null}, "macro.dbt.apply_grants": {"name": "apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.apply_grants", "macro_sql": "{% macro apply_grants(relation, grant_config, should_revoke) %}\n {{ return(adapter.dispatch(\"apply_grants\", \"dbt\")(relation, grant_config, should_revoke)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8341494, "supported_languages": null}, "macro.dbt.default__apply_grants": {"name": "default__apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__apply_grants", "macro_sql": "{% macro default__apply_grants(relation, grant_config, should_revoke=True) %}\n {#-- If grant_config is {} or None, this is a no-op --#}\n {% if grant_config %}\n {% if should_revoke %}\n {#-- We think previous grants may have carried over --#}\n {#-- Show current grants and calculate diffs --#}\n {% set current_grants_table = run_query(get_show_grant_sql(relation)) %}\n {% set current_grants_dict = adapter.standardize_grants_dict(current_grants_table) %}\n {% set needs_granting = diff_of_two_dicts(grant_config, current_grants_dict) %}\n {% set needs_revoking = diff_of_two_dicts(current_grants_dict, grant_config) %}\n {% if not (needs_granting or needs_revoking) %}\n {{ log('On ' ~ relation ~': All grants are in place, no revocation or granting needed.')}}\n {% endif %}\n {% else %}\n {#-- We don't think there's any chance of previous grants having carried over. --#}\n {#-- Jump straight to granting what the user has configured. --#}\n {% set needs_revoking = {} %}\n {% set needs_granting = grant_config %}\n {% endif %}\n {% if needs_granting or needs_revoking %}\n {% set revoke_statement_list = get_dcl_statement_list(relation, needs_revoking, get_revoke_sql) %}\n {% set grant_statement_list = get_dcl_statement_list(relation, needs_granting, get_grant_sql) %}\n {% set dcl_statement_list = revoke_statement_list + grant_statement_list %}\n {% if dcl_statement_list %}\n {{ call_dcl_statements(dcl_statement_list) }}\n {% endif %}\n {% endif %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_grant_sql", "macro.dbt.get_dcl_statement_list", "macro.dbt.call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8363204, "supported_languages": null}, "macro.dbt.convert_datetime": {"name": "convert_datetime", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.convert_datetime", "macro_sql": "{% macro convert_datetime(date_str, date_fmt) %}\n\n {% set error_msg -%}\n The provided partition date '{{ date_str }}' does not match the expected format '{{ date_fmt }}'\n {%- endset %}\n\n {% set res = try_or_compiler_error(error_msg, modules.datetime.datetime.strptime, date_str.strip(), date_fmt) %}\n {{ return(res) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.839054, "supported_languages": null}, "macro.dbt.dates_in_range": {"name": "dates_in_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.dates_in_range", "macro_sql": "{% macro dates_in_range(start_date_str, end_date_str=none, in_fmt=\"%Y%m%d\", out_fmt=\"%Y%m%d\") %}\n {% set end_date_str = start_date_str if end_date_str is none else end_date_str %}\n\n {% set start_date = convert_datetime(start_date_str, in_fmt) %}\n {% set end_date = convert_datetime(end_date_str, in_fmt) %}\n\n {% set day_count = (end_date - start_date).days %}\n {% if day_count < 0 %}\n {% set msg -%}\n Partition start date is after the end date ({{ start_date }}, {{ end_date }})\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg, model) }}\n {% endif %}\n\n {% set date_list = [] %}\n {% for i in range(0, day_count + 1) %}\n {% set the_date = (modules.datetime.timedelta(days=i) + start_date) %}\n {% if not out_fmt %}\n {% set _ = date_list.append(the_date) %}\n {% else %}\n {% set _ = date_list.append(the_date.strftime(out_fmt)) %}\n {% endif %}\n {% endfor %}\n\n {{ return(date_list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.convert_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8413067, "supported_languages": null}, "macro.dbt.partition_range": {"name": "partition_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.partition_range", "macro_sql": "{% macro partition_range(raw_partition_date, date_fmt='%Y%m%d') %}\n {% set partition_range = (raw_partition_date | string).split(\",\") %}\n\n {% if (partition_range | length) == 1 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = none %}\n {% elif (partition_range | length) == 2 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = partition_range[1] %}\n {% else %}\n {{ exceptions.raise_compiler_error(\"Invalid partition time. Expected format: {Start Date}[,{End Date}]. Got: \" ~ raw_partition_date) }}\n {% endif %}\n\n {{ return(dates_in_range(start_date, end_date, in_fmt=date_fmt)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dates_in_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8428376, "supported_languages": null}, "macro.dbt.py_current_timestring": {"name": "py_current_timestring", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.py_current_timestring", "macro_sql": "{% macro py_current_timestring() %}\n {% set dt = modules.datetime.datetime.now() %}\n {% do return(dt.strftime(\"%Y%m%d%H%M%S%f\")) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.843383, "supported_languages": null}, "macro.dbt.statement": {"name": "statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.statement", "macro_sql": "\n{%- macro statement(name=None, fetch_result=False, auto_begin=True, language='sql') -%}\n {%- if execute: -%}\n {%- set compiled_code = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime {} for node \"{}\"'.format(language, model['unique_id'])) }}\n {{ write(compiled_code) }}\n {%- endif -%}\n {%- if language == 'sql'-%}\n {%- set res, table = adapter.execute(compiled_code, auto_begin=auto_begin, fetch=fetch_result) -%}\n {%- elif language == 'python' -%}\n {%- set res = submit_python_job(model, compiled_code) -%}\n {#-- TODO: What should table be for python models? --#}\n {%- set table = None -%}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"statement macro didn't get supported language\") %}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_result(name, response=res, agate_table=table) }}\n {%- endif -%}\n\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.846124, "supported_languages": null}, "macro.dbt.noop_statement": {"name": "noop_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.noop_statement", "macro_sql": "{% macro noop_statement(name=None, message=None, code=None, rows_affected=None, res=None) -%}\n {%- set sql = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime SQL for node \"{}\"'.format(model['unique_id'])) }}\n {{ write(sql) }}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_raw_result(name, message=message, code=code, rows_affected=rows_affected, agate_table=res) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8472095, "supported_languages": null}, "macro.dbt.run_query": {"name": "run_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.run_query", "macro_sql": "{% macro run_query(sql) %}\n {% call statement(\"run_query_statement\", fetch_result=true, auto_begin=false) %}\n {{ sql }}\n {% endcall %}\n\n {% do return(load_result(\"run_query_statement\").table) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.847764, "supported_languages": null}, "macro.dbt.get_create_backup_sql": {"name": "get_create_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_backup.sql", "original_file_path": "macros/relations/create_backup.sql", "unique_id": "macro.dbt.get_create_backup_sql", "macro_sql": "{%- macro get_create_backup_sql(relation) -%}\n {{- log('Applying CREATE BACKUP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_backup_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_backup_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8483944, "supported_languages": null}, "macro.dbt.default__get_create_backup_sql": {"name": "default__get_create_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_backup.sql", "original_file_path": "macros/relations/create_backup.sql", "unique_id": "macro.dbt.default__get_create_backup_sql", "macro_sql": "{%- macro default__get_create_backup_sql(relation) -%}\n\n -- get the standard backup name\n {% set backup_relation = make_backup_relation(relation, relation.type) %}\n\n -- drop any pre-existing backup\n {{ get_drop_sql(backup_relation) }};\n\n {{ get_rename_sql(relation, backup_relation.identifier) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_backup_relation", "macro.dbt.get_drop_sql", "macro.dbt.get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8489048, "supported_languages": null}, "macro.dbt.get_drop_backup_sql": {"name": "get_drop_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop_backup.sql", "original_file_path": "macros/relations/drop_backup.sql", "unique_id": "macro.dbt.get_drop_backup_sql", "macro_sql": "{%- macro get_drop_backup_sql(relation) -%}\n {{- log('Applying DROP BACKUP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_drop_backup_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_drop_backup_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.849507, "supported_languages": null}, "macro.dbt.default__get_drop_backup_sql": {"name": "default__get_drop_backup_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop_backup.sql", "original_file_path": "macros/relations/drop_backup.sql", "unique_id": "macro.dbt.default__get_drop_backup_sql", "macro_sql": "{%- macro default__get_drop_backup_sql(relation) -%}\n\n -- get the standard backup name\n {% set backup_relation = make_backup_relation(relation, relation.type) %}\n\n {{ get_drop_sql(backup_relation) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_backup_relation", "macro.dbt.get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8499236, "supported_languages": null}, "macro.dbt.get_replace_sql": {"name": "get_replace_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/replace.sql", "original_file_path": "macros/relations/replace.sql", "unique_id": "macro.dbt.get_replace_sql", "macro_sql": "{% macro get_replace_sql(existing_relation, target_relation, sql) %}\n {{- log('Applying REPLACE to: ' ~ existing_relation) -}}\n {{- adapter.dispatch('get_replace_sql', 'dbt')(existing_relation, target_relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_replace_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8512115, "supported_languages": null}, "macro.dbt.default__get_replace_sql": {"name": "default__get_replace_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/replace.sql", "original_file_path": "macros/relations/replace.sql", "unique_id": "macro.dbt.default__get_replace_sql", "macro_sql": "{% macro default__get_replace_sql(existing_relation, target_relation, sql) %}\n\n {# /* use a create or replace statement if possible */ #}\n\n {% set is_replaceable = existing_relation.type == target_relation_type and existing_relation.can_be_replaced %}\n\n {% if is_replaceable and existing_relation.is_view %}\n {{ get_replace_view_sql(target_relation, sql) }}\n\n {% elif is_replaceable and existing_relation.is_table %}\n {{ get_replace_table_sql(target_relation, sql) }}\n\n {% elif is_replaceable and existing_relation.is_materialized_view %}\n {{ get_replace_materialized_view_sql(target_relation, sql) }}\n\n {# /* a create or replace statement is not possible, so try to stage and/or backup to be safe */ #}\n\n {# /* create target_relation as an intermediate relation, then swap it out with the existing one using a backup */ #}\n {%- elif target_relation.can_be_renamed and existing_relation.can_be_renamed -%}\n {{ get_create_intermediate_sql(target_relation, sql) }};\n {{ get_create_backup_sql(existing_relation) }};\n {{ get_rename_intermediate_sql(target_relation) }};\n {{ get_drop_backup_sql(existing_relation) }}\n\n {# /* create target_relation as an intermediate relation, then swap it out with the existing one without using a backup */ #}\n {%- elif target_relation.can_be_renamed -%}\n {{ get_create_intermediate_sql(target_relation, sql) }};\n {{ get_drop_sql(existing_relation) }};\n {{ get_rename_intermediate_sql(target_relation) }}\n\n {# /* create target_relation in place by first backing up the existing relation */ #}\n {%- elif existing_relation.can_be_renamed -%}\n {{ get_create_backup_sql(existing_relation) }};\n {{ get_create_sql(target_relation, sql) }};\n {{ get_drop_backup_sql(existing_relation) }}\n\n {# /* no renaming is allowed, so just drop and create */ #}\n {%- else -%}\n {{ get_drop_sql(existing_relation) }};\n {{ get_create_sql(target_relation, sql) }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_replace_view_sql", "macro.dbt.get_replace_table_sql", "macro.dbt.get_replace_materialized_view_sql", "macro.dbt.get_create_intermediate_sql", "macro.dbt.get_create_backup_sql", "macro.dbt.get_rename_intermediate_sql", "macro.dbt.get_drop_backup_sql", "macro.dbt.get_drop_sql", "macro.dbt.get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.853527, "supported_languages": null}, "macro.dbt.get_drop_sql": {"name": "get_drop_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.get_drop_sql", "macro_sql": "{%- macro get_drop_sql(relation) -%}\n {{- log('Applying DROP to: ' ~ relation) -}}\n {{- adapter.dispatch('get_drop_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8547063, "supported_languages": null}, "macro.dbt.default__get_drop_sql": {"name": "default__get_drop_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.default__get_drop_sql", "macro_sql": "{%- macro default__get_drop_sql(relation) -%}\n\n {%- if relation.is_view -%}\n {{ drop_view(relation) }}\n\n {%- elif relation.is_table -%}\n {{ drop_table(relation) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ drop_materialized_view(relation) }}\n\n {%- else -%}\n drop {{ relation.type }} if exists {{ relation }} cascade\n\n {%- endif -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.drop_view", "macro.dbt.drop_table", "macro.dbt.drop_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.855411, "supported_languages": null}, "macro.dbt.drop_relation": {"name": "drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.drop_relation", "macro_sql": "{% macro drop_relation(relation) -%}\n {{ return(adapter.dispatch('drop_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.855766, "supported_languages": null}, "macro.dbt.default__drop_relation": {"name": "default__drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.default__drop_relation", "macro_sql": "{% macro default__drop_relation(relation) -%}\n {% call statement('drop_relation', auto_begin=False) -%}\n {{ get_drop_sql(relation) }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.get_drop_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8561504, "supported_languages": null}, "macro.dbt.drop_relation_if_exists": {"name": "drop_relation_if_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/drop.sql", "original_file_path": "macros/relations/drop.sql", "unique_id": "macro.dbt.drop_relation_if_exists", "macro_sql": "{% macro drop_relation_if_exists(relation) %}\n {% if relation is not none %}\n {{ adapter.drop_relation(relation) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8565218, "supported_languages": null}, "macro.dbt.get_rename_intermediate_sql": {"name": "get_rename_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename_intermediate.sql", "original_file_path": "macros/relations/rename_intermediate.sql", "unique_id": "macro.dbt.get_rename_intermediate_sql", "macro_sql": "{%- macro get_rename_intermediate_sql(relation) -%}\n {{- log('Applying RENAME INTERMEDIATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_rename_intermediate_sql', 'dbt')(relation) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_rename_intermediate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.857143, "supported_languages": null}, "macro.dbt.default__get_rename_intermediate_sql": {"name": "default__get_rename_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename_intermediate.sql", "original_file_path": "macros/relations/rename_intermediate.sql", "unique_id": "macro.dbt.default__get_rename_intermediate_sql", "macro_sql": "{%- macro default__get_rename_intermediate_sql(relation) -%}\n\n -- get the standard intermediate name\n {% set intermediate_relation = make_intermediate_relation(relation) %}\n\n {{ get_rename_sql(intermediate_relation, relation.identifier) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_intermediate_relation", "macro.dbt.get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8575418, "supported_languages": null}, "macro.dbt.get_rename_sql": {"name": "get_rename_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.get_rename_sql", "macro_sql": "{%- macro get_rename_sql(relation, new_name) -%}\n {{- log('Applying RENAME to: ' ~ relation) -}}\n {{- adapter.dispatch('get_rename_sql', 'dbt')(relation, new_name) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_rename_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8586788, "supported_languages": null}, "macro.dbt.default__get_rename_sql": {"name": "default__get_rename_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.default__get_rename_sql", "macro_sql": "{%- macro default__get_rename_sql(relation, new_name) -%}\n\n {%- if relation.is_view -%}\n {{ get_rename_view_sql(relation, new_name) }}\n\n {%- elif relation.is_table -%}\n {{ get_rename_table_sql(relation, new_name) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ get_rename_materialized_view_sql(relation, new_name) }}\n\n {%- else -%}\n {{- exceptions.raise_compiler_error(\"`get_rename_sql` has not been implemented for: \" ~ relation.type ) -}}\n\n {%- endif -%}\n\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.get_rename_view_sql", "macro.dbt.get_rename_table_sql", "macro.dbt.get_rename_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8596315, "supported_languages": null}, "macro.dbt.rename_relation": {"name": "rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.rename_relation", "macro_sql": "{% macro rename_relation(from_relation, to_relation) -%}\n {{ return(adapter.dispatch('rename_relation', 'dbt')(from_relation, to_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__rename_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.860027, "supported_languages": null}, "macro.dbt.default__rename_relation": {"name": "default__rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/rename.sql", "original_file_path": "macros/relations/rename.sql", "unique_id": "macro.dbt.default__rename_relation", "macro_sql": "{% macro default__rename_relation(from_relation, to_relation) -%}\n {% set target_name = adapter.quote_as_configured(to_relation.identifier, 'identifier') %}\n {% call statement('rename_relation') -%}\n alter table {{ from_relation }} rename to {{ target_name }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8605711, "supported_languages": null}, "macro.dbt.drop_schema_named": {"name": "drop_schema_named", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/schema.sql", "original_file_path": "macros/relations/schema.sql", "unique_id": "macro.dbt.drop_schema_named", "macro_sql": "{% macro drop_schema_named(schema_name) %}\n {{ return(adapter.dispatch('drop_schema_named', 'dbt') (schema_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__drop_schema_named"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.861088, "supported_languages": null}, "macro.dbt.default__drop_schema_named": {"name": "default__drop_schema_named", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/schema.sql", "original_file_path": "macros/relations/schema.sql", "unique_id": "macro.dbt.default__drop_schema_named", "macro_sql": "{% macro default__drop_schema_named(schema_name) %}\n {% set schema_relation = api.Relation.create(schema=schema_name) %}\n {{ adapter.drop_schema(schema_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8615077, "supported_languages": null}, "macro.dbt.get_create_sql": {"name": "get_create_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create.sql", "original_file_path": "macros/relations/create.sql", "unique_id": "macro.dbt.get_create_sql", "macro_sql": "{%- macro get_create_sql(relation, sql) -%}\n {{- log('Applying CREATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_sql', 'dbt')(relation, sql) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8623254, "supported_languages": null}, "macro.dbt.default__get_create_sql": {"name": "default__get_create_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create.sql", "original_file_path": "macros/relations/create.sql", "unique_id": "macro.dbt.default__get_create_sql", "macro_sql": "{%- macro default__get_create_sql(relation, sql) -%}\n\n {%- if relation.is_view -%}\n {{ get_create_view_as_sql(relation, sql) }}\n\n {%- elif relation.is_table -%}\n {{ get_create_table_as_sql(False, relation, sql) }}\n\n {%- elif relation.is_materialized_view -%}\n {{ get_create_materialized_view_as_sql(relation, sql) }}\n\n {%- else -%}\n {{- exceptions.raise_compiler_error(\"`get_create_sql` has not been implemented for: \" ~ relation.type ) -}}\n\n {%- endif -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.get_create_view_as_sql", "macro.dbt.get_create_table_as_sql", "macro.dbt.get_create_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.863178, "supported_languages": null}, "macro.dbt.get_create_intermediate_sql": {"name": "get_create_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_intermediate.sql", "original_file_path": "macros/relations/create_intermediate.sql", "unique_id": "macro.dbt.get_create_intermediate_sql", "macro_sql": "{%- macro get_create_intermediate_sql(relation, sql) -%}\n {{- log('Applying CREATE INTERMEDIATE to: ' ~ relation) -}}\n {{- adapter.dispatch('get_create_intermediate_sql', 'dbt')(relation, sql) -}}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": ["macro.dbt.default__get_create_intermediate_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.863836, "supported_languages": null}, "macro.dbt.default__get_create_intermediate_sql": {"name": "default__get_create_intermediate_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/create_intermediate.sql", "original_file_path": "macros/relations/create_intermediate.sql", "unique_id": "macro.dbt.default__get_create_intermediate_sql", "macro_sql": "{%- macro default__get_create_intermediate_sql(relation, sql) -%}\n\n -- get the standard intermediate name\n {% set intermediate_relation = make_intermediate_relation(relation) %}\n\n -- drop any pre-existing intermediate\n {{ get_drop_sql(intermediate_relation) }};\n\n {{ get_create_sql(intermediate_relation, sql) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.make_intermediate_relation", "macro.dbt.get_drop_sql", "macro.dbt.get_create_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8643253, "supported_languages": null}, "macro.dbt.get_replace_view_sql": {"name": "get_replace_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.get_replace_view_sql", "macro_sql": "{% macro get_replace_view_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_view_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_replace_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8657146, "supported_languages": null}, "macro.dbt.default__get_replace_view_sql": {"name": "default__get_replace_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.default__get_replace_view_sql", "macro_sql": "{% macro default__get_replace_view_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8660011, "supported_languages": null}, "macro.dbt.create_or_replace_view": {"name": "create_or_replace_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.create_or_replace_view", "macro_sql": "{% macro create_or_replace_view() %}\n {%- set identifier = model['alias'] -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database,\n type='view') -%}\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n -- If there's a table with the same name and we weren't told to full refresh,\n -- that's an error. If we were told to full refresh, drop it. This behavior differs\n -- for Snowflake and BigQuery, so multiple dispatch is used.\n {%- if old_relation is not none and old_relation.is_table -%}\n {{ handle_existing_table(should_full_refresh(), old_relation) }}\n {%- endif -%}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(target_relation, sql) }}\n {%- endcall %}\n\n {% set should_revoke = should_revoke(exists_as_view, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {{ run_hooks(post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.handle_existing_table", "macro.dbt.should_full_refresh", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8681126, "supported_languages": null}, "macro.dbt.handle_existing_table": {"name": "handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.handle_existing_table", "macro_sql": "{% macro handle_existing_table(full_refresh, old_relation) %}\n {{ adapter.dispatch('handle_existing_table', 'dbt')(full_refresh, old_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__handle_existing_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8684921, "supported_languages": null}, "macro.dbt.default__handle_existing_table": {"name": "default__handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/replace.sql", "original_file_path": "macros/relations/view/replace.sql", "unique_id": "macro.dbt.default__handle_existing_table", "macro_sql": "{% macro default__handle_existing_table(full_refresh, old_relation) %}\n {{ log(\"Dropping relation \" ~ old_relation ~ \" because it is of type \" ~ old_relation.type) }}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8689122, "supported_languages": null}, "macro.dbt.drop_view": {"name": "drop_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt.drop_view", "macro_sql": "{% macro drop_view(relation) -%}\n {{- adapter.dispatch('drop_view', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8693979, "supported_languages": null}, "macro.dbt.default__drop_view": {"name": "default__drop_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/drop.sql", "original_file_path": "macros/relations/view/drop.sql", "unique_id": "macro.dbt.default__drop_view", "macro_sql": "{% macro default__drop_view(relation) -%}\n drop view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8696082, "supported_languages": null}, "macro.dbt.get_rename_view_sql": {"name": "get_rename_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt.get_rename_view_sql", "macro_sql": "{% macro get_rename_view_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_view_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8700936, "supported_languages": null}, "macro.dbt.default__get_rename_view_sql": {"name": "default__get_rename_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/rename.sql", "original_file_path": "macros/relations/view/rename.sql", "unique_id": "macro.dbt.default__get_rename_view_sql", "macro_sql": "{% macro default__get_rename_view_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8703718, "supported_languages": null}, "macro.dbt.get_create_view_as_sql": {"name": "get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.get_create_view_as_sql", "macro_sql": "{% macro get_create_view_as_sql(relation, sql) -%}\n {{ adapter.dispatch('get_create_view_as_sql', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.871068, "supported_languages": null}, "macro.dbt.default__get_create_view_as_sql": {"name": "default__get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.default__get_create_view_as_sql", "macro_sql": "{% macro default__get_create_view_as_sql(relation, sql) -%}\n {{ return(create_view_as(relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8713725, "supported_languages": null}, "macro.dbt.create_view_as": {"name": "create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.create_view_as", "macro_sql": "{% macro create_view_as(relation, sql) -%}\n {{ adapter.dispatch('create_view_as', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8717127, "supported_languages": null}, "macro.dbt.default__create_view_as": {"name": "default__create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/view/create.sql", "original_file_path": "macros/relations/view/create.sql", "unique_id": "macro.dbt.default__create_view_as", "macro_sql": "{% macro default__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n create view {{ relation }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced %}\n {{ get_assert_columns_equivalent(sql) }}\n {%- endif %}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8726397, "supported_languages": null}, "macro.dbt.get_replace_materialized_view_sql": {"name": "get_replace_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/replace.sql", "original_file_path": "macros/relations/materialized_view/replace.sql", "unique_id": "macro.dbt.get_replace_materialized_view_sql", "macro_sql": "{% macro get_replace_materialized_view_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_materialized_view_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_replace_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8731735, "supported_languages": null}, "macro.dbt.default__get_replace_materialized_view_sql": {"name": "default__get_replace_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/replace.sql", "original_file_path": "macros/relations/materialized_view/replace.sql", "unique_id": "macro.dbt.default__get_replace_materialized_view_sql", "macro_sql": "{% macro default__get_replace_materialized_view_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_materialized_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8734615, "supported_languages": null}, "macro.dbt.drop_materialized_view": {"name": "drop_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt.drop_materialized_view", "macro_sql": "{% macro drop_materialized_view(relation) -%}\n {{- adapter.dispatch('drop_materialized_view', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8739095, "supported_languages": null}, "macro.dbt.default__drop_materialized_view": {"name": "default__drop_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/drop.sql", "original_file_path": "macros/relations/materialized_view/drop.sql", "unique_id": "macro.dbt.default__drop_materialized_view", "macro_sql": "{% macro default__drop_materialized_view(relation) -%}\n drop materialized view if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8741171, "supported_languages": null}, "macro.dbt.get_rename_materialized_view_sql": {"name": "get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt.get_rename_materialized_view_sql", "macro_sql": "{% macro get_rename_materialized_view_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_materialized_view_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_materialized_view_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8746042, "supported_languages": null}, "macro.dbt.default__get_rename_materialized_view_sql": {"name": "default__get_rename_materialized_view_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/rename.sql", "original_file_path": "macros/relations/materialized_view/rename.sql", "unique_id": "macro.dbt.default__get_rename_materialized_view_sql", "macro_sql": "{% macro default__get_rename_materialized_view_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_materialized_view_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8748875, "supported_languages": null}, "macro.dbt.refresh_materialized_view": {"name": "refresh_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt.refresh_materialized_view", "macro_sql": "{% macro refresh_materialized_view(relation) %}\n {{- log('Applying REFRESH to: ' ~ relation) -}}\n {{- adapter.dispatch('refresh_materialized_view', 'dbt')(relation) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__refresh_materialized_view"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8754368, "supported_languages": null}, "macro.dbt.default__refresh_materialized_view": {"name": "default__refresh_materialized_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/refresh.sql", "original_file_path": "macros/relations/materialized_view/refresh.sql", "unique_id": "macro.dbt.default__refresh_materialized_view", "macro_sql": "{% macro default__refresh_materialized_view(relation) %}\n {{ exceptions.raise_compiler_error(\"`refresh_materialized_view` has not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.875701, "supported_languages": null}, "macro.dbt.get_create_materialized_view_as_sql": {"name": "get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt.get_create_materialized_view_as_sql", "macro_sql": "{% macro get_create_materialized_view_as_sql(relation, sql) -%}\n {{- adapter.dispatch('get_create_materialized_view_as_sql', 'dbt')(relation, sql) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_create_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8761911, "supported_languages": null}, "macro.dbt.default__get_create_materialized_view_as_sql": {"name": "default__get_create_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/create.sql", "original_file_path": "macros/relations/materialized_view/create.sql", "unique_id": "macro.dbt.default__get_create_materialized_view_as_sql", "macro_sql": "{% macro default__get_create_materialized_view_as_sql(relation, sql) -%}\n {{ exceptions.raise_compiler_error(\n \"`get_create_materialized_view_as_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8764646, "supported_languages": null}, "macro.dbt.get_alter_materialized_view_as_sql": {"name": "get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.get_alter_materialized_view_as_sql", "macro_sql": "{% macro get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n {{- log('Applying ALTER to: ' ~ relation) -}}\n {{- adapter.dispatch('get_alter_materialized_view_as_sql', 'dbt')(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n ) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_alter_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8775134, "supported_languages": null}, "macro.dbt.default__get_alter_materialized_view_as_sql": {"name": "default__get_alter_materialized_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.default__get_alter_materialized_view_as_sql", "macro_sql": "{% macro default__get_alter_materialized_view_as_sql(\n relation,\n configuration_changes,\n sql,\n existing_relation,\n backup_relation,\n intermediate_relation\n) %}\n {{ exceptions.raise_compiler_error(\"Materialized views have not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8778732, "supported_languages": null}, "macro.dbt.get_materialized_view_configuration_changes": {"name": "get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.get_materialized_view_configuration_changes", "macro_sql": "{% macro get_materialized_view_configuration_changes(existing_relation, new_config) %}\n /* {#\n It's recommended that configuration changes be formatted as follows:\n {\"\": [{\"action\": \"\", \"context\": ...}]}\n\n For example:\n {\n \"indexes\": [\n {\"action\": \"drop\", \"context\": \"index_abc\"},\n {\"action\": \"create\", \"context\": {\"columns\": [\"column_1\", \"column_2\"], \"type\": \"hash\", \"unique\": True}},\n ],\n }\n\n Either way, `get_materialized_view_configuration_changes` needs to align with `get_alter_materialized_view_as_sql`.\n #} */\n {{- log('Determining configuration changes on: ' ~ existing_relation) -}}\n {%- do return(adapter.dispatch('get_materialized_view_configuration_changes', 'dbt')(existing_relation, new_config)) -%}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_materialized_view_configuration_changes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8784053, "supported_languages": null}, "macro.dbt.default__get_materialized_view_configuration_changes": {"name": "default__get_materialized_view_configuration_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/materialized_view/alter.sql", "original_file_path": "macros/relations/materialized_view/alter.sql", "unique_id": "macro.dbt.default__get_materialized_view_configuration_changes", "macro_sql": "{% macro default__get_materialized_view_configuration_changes(existing_relation, new_config) %}\n {{ exceptions.raise_compiler_error(\"Materialized views have not been implemented for this adapter.\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.878699, "supported_languages": null}, "macro.dbt.get_replace_table_sql": {"name": "get_replace_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt.get_replace_table_sql", "macro_sql": "{% macro get_replace_table_sql(relation, sql) %}\n {{- adapter.dispatch('get_replace_table_sql', 'dbt')(relation, sql) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_replace_table_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8791919, "supported_languages": null}, "macro.dbt.default__get_replace_table_sql": {"name": "default__get_replace_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/replace.sql", "original_file_path": "macros/relations/table/replace.sql", "unique_id": "macro.dbt.default__get_replace_table_sql", "macro_sql": "{% macro default__get_replace_table_sql(relation, sql) %}\n {{ exceptions.raise_compiler_error(\n \"`get_replace_table_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.879475, "supported_languages": null}, "macro.dbt.drop_table": {"name": "drop_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt.drop_table", "macro_sql": "{% macro drop_table(relation) -%}\n {{- adapter.dispatch('drop_table', 'dbt')(relation) -}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__drop_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8799174, "supported_languages": null}, "macro.dbt.default__drop_table": {"name": "default__drop_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/drop.sql", "original_file_path": "macros/relations/table/drop.sql", "unique_id": "macro.dbt.default__drop_table", "macro_sql": "{% macro default__drop_table(relation) -%}\n drop table if exists {{ relation }} cascade\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8801262, "supported_languages": null}, "macro.dbt.get_rename_table_sql": {"name": "get_rename_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt.get_rename_table_sql", "macro_sql": "{% macro get_rename_table_sql(relation, new_name) %}\n {{- adapter.dispatch('get_rename_table_sql', 'dbt')(relation, new_name) -}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_rename_table_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8806717, "supported_languages": null}, "macro.dbt.default__get_rename_table_sql": {"name": "default__get_rename_table_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/rename.sql", "original_file_path": "macros/relations/table/rename.sql", "unique_id": "macro.dbt.default__get_rename_table_sql", "macro_sql": "{% macro default__get_rename_table_sql(relation, new_name) %}\n {{ exceptions.raise_compiler_error(\n \"`get_rename_table_sql` has not been implemented for this adapter.\"\n ) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8812227, "supported_languages": null}, "macro.dbt.get_create_table_as_sql": {"name": "get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.get_create_table_as_sql", "macro_sql": "{% macro get_create_table_as_sql(temporary, relation, sql) -%}\n {{ adapter.dispatch('get_create_table_as_sql', 'dbt')(temporary, relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_table_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8826115, "supported_languages": null}, "macro.dbt.default__get_create_table_as_sql": {"name": "default__get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_create_table_as_sql", "macro_sql": "{% macro default__get_create_table_as_sql(temporary, relation, sql) -%}\n {{ return(create_table_as(temporary, relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8829663, "supported_languages": null}, "macro.dbt.create_table_as": {"name": "create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.create_table_as", "macro_sql": "{% macro create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {# backward compatibility for create_table_as that does not support language #}\n {% if language == \"sql\" %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code)}}\n {% else %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code, language) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8838015, "supported_languages": null}, "macro.dbt.default__create_table_as": {"name": "default__create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__create_table_as", "macro_sql": "{% macro default__create_table_as(temporary, relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary: -%}temporary{%- endif %} table\n {{ relation.include(database=(not temporary), schema=(not temporary)) }}\n {% set contract_config = config.get('contract') %}\n {% if contract_config.enforced and (not temporary) %}\n {{ get_assert_columns_equivalent(sql) }}\n {{ get_table_columns_and_constraints() }}\n {%- set sql = get_select_subquery(sql) %}\n {% endif %}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_assert_columns_equivalent", "macro.dbt.get_table_columns_and_constraints", "macro.dbt.get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8851507, "supported_languages": null}, "macro.dbt.default__get_column_names": {"name": "default__get_column_names", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_column_names", "macro_sql": "{% macro default__get_column_names() %}\n {#- loop through user_provided_columns to get column names -#}\n {%- set user_provided_columns = model['columns'] -%}\n {%- for i in user_provided_columns %}\n {%- set col = user_provided_columns[i] -%}\n {%- set col_name = adapter.quote(col['name']) if col.get('quote') else col['name'] -%}\n {{ col_name }}{{ \", \" if not loop.last }}\n {%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8860493, "supported_languages": null}, "macro.dbt.get_select_subquery": {"name": "get_select_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.get_select_subquery", "macro_sql": "{% macro get_select_subquery(sql) %}\n {{ return(adapter.dispatch('get_select_subquery', 'dbt')(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_select_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8864095, "supported_languages": null}, "macro.dbt.default__get_select_subquery": {"name": "default__get_select_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/table/create.sql", "original_file_path": "macros/relations/table/create.sql", "unique_id": "macro.dbt.default__get_select_subquery", "macro_sql": "{% macro default__get_select_subquery(sql) %}\n select {{ adapter.dispatch('get_column_names', 'dbt')() }}\n from (\n {{ sql }}\n ) as model_subq\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_column_names"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8867517, "supported_languages": null}, "macro.dbt.get_table_columns_and_constraints": {"name": "get_table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.get_table_columns_and_constraints", "macro_sql": "{%- macro get_table_columns_and_constraints() -%}\n {{ adapter.dispatch('get_table_columns_and_constraints', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__get_table_columns_and_constraints"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8883674, "supported_languages": null}, "macro.dbt.default__get_table_columns_and_constraints": {"name": "default__get_table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__get_table_columns_and_constraints", "macro_sql": "{% macro default__get_table_columns_and_constraints() -%}\n {{ return(table_columns_and_constraints()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.table_columns_and_constraints"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8886058, "supported_languages": null}, "macro.dbt.table_columns_and_constraints": {"name": "table_columns_and_constraints", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.table_columns_and_constraints", "macro_sql": "{% macro table_columns_and_constraints() %}\n {# loop through user_provided_columns to create DDL with data types and constraints #}\n {%- set raw_column_constraints = adapter.render_raw_columns_constraints(raw_columns=model['columns']) -%}\n {%- set raw_model_constraints = adapter.render_raw_model_constraints(raw_constraints=model['constraints']) -%}\n (\n {% for c in raw_column_constraints -%}\n {{ c }}{{ \",\" if not loop.last or raw_model_constraints }}\n {% endfor %}\n {% for c in raw_model_constraints -%}\n {{ c }}{{ \",\" if not loop.last }}\n {% endfor -%}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.889654, "supported_languages": null}, "macro.dbt.get_assert_columns_equivalent": {"name": "get_assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.get_assert_columns_equivalent", "macro_sql": "\n\n{%- macro get_assert_columns_equivalent(sql) -%}\n {{ adapter.dispatch('get_assert_columns_equivalent', 'dbt')(sql) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__get_assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.889976, "supported_languages": null}, "macro.dbt.default__get_assert_columns_equivalent": {"name": "default__get_assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__get_assert_columns_equivalent", "macro_sql": "{% macro default__get_assert_columns_equivalent(sql) -%}\n {{ return(assert_columns_equivalent(sql)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.assert_columns_equivalent"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.890241, "supported_languages": null}, "macro.dbt.assert_columns_equivalent": {"name": "assert_columns_equivalent", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.assert_columns_equivalent", "macro_sql": "{% macro assert_columns_equivalent(sql) %}\n\n {#-- First ensure the user has defined 'columns' in yaml specification --#}\n {%- set user_defined_columns = model['columns'] -%}\n {%- if not user_defined_columns -%}\n {{ exceptions.raise_contract_error([], []) }}\n {%- endif -%}\n\n {#-- Obtain the column schema provided by sql file. #}\n {%- set sql_file_provided_columns = get_column_schema_from_query(sql, config.get('sql_header', none)) -%}\n {#--Obtain the column schema provided by the schema file by generating an 'empty schema' query from the model's columns. #}\n {%- set schema_file_provided_columns = get_column_schema_from_query(get_empty_schema_sql(user_defined_columns)) -%}\n\n {#-- create dictionaries with name and formatted data type and strings for exception #}\n {%- set sql_columns = format_columns(sql_file_provided_columns) -%}\n {%- set yaml_columns = format_columns(schema_file_provided_columns) -%}\n\n {%- if sql_columns|length != yaml_columns|length -%}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n\n {%- for sql_col in sql_columns -%}\n {%- set yaml_col = [] -%}\n {%- for this_col in yaml_columns -%}\n {%- if this_col['name'] == sql_col['name'] -%}\n {%- do yaml_col.append(this_col) -%}\n {%- break -%}\n {%- endif -%}\n {%- endfor -%}\n {%- if not yaml_col -%}\n {#-- Column with name not found in yaml #}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n {%- if sql_col['formatted'] != yaml_col[0]['formatted'] -%}\n {#-- Column data types don't match #}\n {%- do exceptions.raise_contract_error(yaml_columns, sql_columns) -%}\n {%- endif -%}\n {%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_column_schema_from_query", "macro.dbt.get_empty_schema_sql", "macro.dbt.format_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8931582, "supported_languages": null}, "macro.dbt.format_columns": {"name": "format_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.format_columns", "macro_sql": "{% macro format_columns(columns) %}\n {% set formatted_columns = [] %}\n {% for column in columns %}\n {%- set formatted_column = adapter.dispatch('format_column', 'dbt')(column) -%}\n {%- do formatted_columns.append(formatted_column) -%}\n {% endfor %}\n {{ return(formatted_columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__format_column"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8938923, "supported_languages": null}, "macro.dbt.default__format_column": {"name": "default__format_column", "resource_type": "macro", "package_name": "dbt", "path": "macros/relations/column/columns_spec_ddl.sql", "original_file_path": "macros/relations/column/columns_spec_ddl.sql", "unique_id": "macro.dbt.default__format_column", "macro_sql": "{% macro default__format_column(column) -%}\n {% set data_type = column.dtype %}\n {% set formatted = column.column.lower() ~ \" \" ~ data_type %}\n {{ return({'name': column.name, 'data_type': data_type, 'formatted': formatted}) }}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.894534, "supported_languages": null}, "macro.dbt.resolve_model_name": {"name": "resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.resolve_model_name", "macro_sql": "{% macro resolve_model_name(input_model_name) %}\n {{ return(adapter.dispatch('resolve_model_name', 'dbt')(input_model_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8969324, "supported_languages": null}, "macro.dbt.default__resolve_model_name": {"name": "default__resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.default__resolve_model_name", "macro_sql": "\n\n{%- macro default__resolve_model_name(input_model_name) -%}\n {{ input_model_name | string | replace('\"', '\\\"') }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8972545, "supported_languages": null}, "macro.dbt.build_ref_function": {"name": "build_ref_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_ref_function", "macro_sql": "{% macro build_ref_function(model) %}\n\n {%- set ref_dict = {} -%}\n {%- for _ref in model.refs -%}\n {% set _ref_args = [_ref.get('package'), _ref['name']] if _ref.get('package') else [_ref['name'],] %}\n {%- set resolved = ref(*_ref_args, v=_ref.get('version')) -%}\n {%- if _ref.get('version') -%}\n {% do _ref_args.extend([\"v\" ~ _ref['version']]) %}\n {%- endif -%}\n {%- do ref_dict.update({_ref_args | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef ref(*args, **kwargs):\n refs = {{ ref_dict | tojson }}\n key = '.'.join(args)\n version = kwargs.get(\"v\") or kwargs.get(\"version\")\n if version:\n key += f\".v{version}\"\n dbt_load_df_function = kwargs.get(\"dbt_load_df_function\")\n return dbt_load_df_function(refs[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8987875, "supported_languages": null}, "macro.dbt.build_source_function": {"name": "build_source_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_source_function", "macro_sql": "{% macro build_source_function(model) %}\n\n {%- set source_dict = {} -%}\n {%- for _source in model.sources -%}\n {%- set resolved = source(*_source) -%}\n {%- do source_dict.update({_source | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef source(*args, dbt_load_df_function):\n sources = {{ source_dict | tojson }}\n key = '.'.join(args)\n return dbt_load_df_function(sources[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.8995638, "supported_languages": null}, "macro.dbt.build_config_dict": {"name": "build_config_dict", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_config_dict", "macro_sql": "{% macro build_config_dict(model) %}\n {%- set config_dict = {} -%}\n {% set config_dbt_used = zip(model.config.config_keys_used, model.config.config_keys_defaults) | list %}\n {%- for key, default in config_dbt_used -%}\n {# weird type testing with enum, would be much easier to write this logic in Python! #}\n {%- if key == \"language\" -%}\n {%- set value = \"python\" -%}\n {%- endif -%}\n {%- set value = model.config.get(key, default) -%}\n {%- do config_dict.update({key: value}) -%}\n {%- endfor -%}\nconfig_dict = {{ config_dict }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9006844, "supported_languages": null}, "macro.dbt.py_script_postfix": {"name": "py_script_postfix", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_postfix", "macro_sql": "{% macro py_script_postfix(model) %}\n# This part is user provided model code\n# you will need to copy the next section to run the code\n# COMMAND ----------\n# this part is dbt logic for get ref work, do not modify\n\n{{ build_ref_function(model ) }}\n{{ build_source_function(model ) }}\n{{ build_config_dict(model) }}\n\nclass config:\n def __init__(self, *args, **kwargs):\n pass\n\n @staticmethod\n def get(key, default=None):\n return config_dict.get(key, default)\n\nclass this:\n \"\"\"dbt.this() or dbt.this.identifier\"\"\"\n database = \"{{ this.database }}\"\n schema = \"{{ this.schema }}\"\n identifier = \"{{ this.identifier }}\"\n {% set this_relation_name = resolve_model_name(this) %}\n def __repr__(self):\n return '{{ this_relation_name }}'\n\n\nclass dbtObj:\n def __init__(self, load_df_function) -> None:\n self.source = lambda *args: source(*args, dbt_load_df_function=load_df_function)\n self.ref = lambda *args, **kwargs: ref(*args, **kwargs, dbt_load_df_function=load_df_function)\n self.config = config\n self.this = this()\n self.is_incremental = {{ is_incremental() }}\n\n# COMMAND ----------\n{{py_script_comment()}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.build_ref_function", "macro.dbt.build_source_function", "macro.dbt.build_config_dict", "macro.dbt.resolve_model_name", "macro.dbt.is_incremental", "macro.dbt.py_script_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9015958, "supported_languages": null}, "macro.dbt.py_script_comment": {"name": "py_script_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_comment", "macro_sql": "{%macro py_script_comment()%}\n{%endmacro%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.901747, "supported_languages": null}, "macro.dbt.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9029098, "supported_languages": null}, "macro.dbt.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9040282, "supported_languages": null}, "macro.dbt.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.904468, "supported_languages": null}, "macro.dbt.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_spine.sql", "original_file_path": "macros/utils/date_spine.sql", "unique_id": "macro.dbt.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n {# call as follows:\n\n date_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n ) #}\n\n\n with rawdata as (\n\n {{dbt.generate_series(\n dbt.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n ),\n\n all_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n ),\n\n filtered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n )\n\n select * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.generate_series", "macro.dbt.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.90518, "supported_languages": null}, "macro.dbt.intersect": {"name": "intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.intersect", "macro_sql": "{% macro intersect() %}\n {{ return(adapter.dispatch('intersect', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__intersect"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9056091, "supported_languages": null}, "macro.dbt.default__intersect": {"name": "default__intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.default__intersect", "macro_sql": "{% macro default__intersect() %}\n\n intersect\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.905768, "supported_languages": null}, "macro.dbt.except": {"name": "except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.except", "macro_sql": "{% macro except() %}\n {{ return(adapter.dispatch('except', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9061792, "supported_languages": null}, "macro.dbt.default__except": {"name": "default__except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.default__except", "macro_sql": "{% macro default__except() %}\n\n except\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9063349, "supported_languages": null}, "macro.dbt.replace": {"name": "replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.replace", "macro_sql": "{% macro replace(field, old_chars, new_chars) -%}\n {{ return(adapter.dispatch('replace', 'dbt') (field, old_chars, new_chars)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__replace"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9069114, "supported_languages": null}, "macro.dbt.default__replace": {"name": "default__replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.default__replace", "macro_sql": "{% macro default__replace(field, old_chars, new_chars) %}\n\n replace(\n {{ field }},\n {{ old_chars }},\n {{ new_chars }}\n )\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9072328, "supported_languages": null}, "macro.dbt.position": {"name": "position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.position", "macro_sql": "{% macro position(substring_text, string_text) -%}\n {{ return(adapter.dispatch('position', 'dbt') (substring_text, string_text)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__position"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9077554, "supported_languages": null}, "macro.dbt.default__position": {"name": "default__position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.default__position", "macro_sql": "{% macro default__position(substring_text, string_text) %}\n\n position(\n {{ substring_text }} in {{ string_text }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9081402, "supported_languages": null}, "macro.dbt.any_value": {"name": "any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.any_value", "macro_sql": "{% macro any_value(expression) -%}\n {{ return(adapter.dispatch('any_value', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__any_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9086, "supported_languages": null}, "macro.dbt.default__any_value": {"name": "default__any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.default__any_value", "macro_sql": "{% macro default__any_value(expression) -%}\n\n any_value({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9088087, "supported_languages": null}, "macro.dbt.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9101171, "supported_languages": null}, "macro.dbt.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.910918, "supported_languages": null}, "macro.dbt.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9112775, "supported_languages": null}, "macro.dbt.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/generate_series.sql", "original_file_path": "macros/utils/generate_series.sql", "unique_id": "macro.dbt.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9122772, "supported_languages": null}, "macro.dbt.listagg": {"name": "listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.listagg", "macro_sql": "{% macro listagg(measure, delimiter_text=\"','\", order_by_clause=none, limit_num=none) -%}\n {{ return(adapter.dispatch('listagg', 'dbt') (measure, delimiter_text, order_by_clause, limit_num)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__listagg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9133296, "supported_languages": null}, "macro.dbt.default__listagg": {"name": "default__listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.default__listagg", "macro_sql": "{% macro default__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n array_slice(\n array_agg(\n {{ measure }}\n ){% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n ,0\n ,{{ limit_num }}\n ),\n {{ delimiter_text }}\n )\n {%- else %}\n listagg(\n {{ measure }},\n {{ delimiter_text }}\n )\n {% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.914114, "supported_languages": null}, "macro.dbt.escape_single_quotes": {"name": "escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.escape_single_quotes", "macro_sql": "{% macro escape_single_quotes(expression) %}\n {{ return(adapter.dispatch('escape_single_quotes', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__escape_single_quotes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.914606, "supported_languages": null}, "macro.dbt.default__escape_single_quotes": {"name": "default__escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.default__escape_single_quotes", "macro_sql": "{% macro default__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\",\"''\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9148796, "supported_languages": null}, "macro.dbt.length": {"name": "length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.length", "macro_sql": "{% macro length(expression) -%}\n {{ return(adapter.dispatch('length', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__length"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.915338, "supported_languages": null}, "macro.dbt.default__length": {"name": "default__length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.default__length", "macro_sql": "{% macro default__length(expression) %}\n\n length(\n {{ expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.915548, "supported_languages": null}, "macro.dbt.concat": {"name": "concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.concat", "macro_sql": "{% macro concat(fields) -%}\n {{ return(adapter.dispatch('concat', 'dbt')(fields)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9160013, "supported_languages": null}, "macro.dbt.default__concat": {"name": "default__concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.default__concat", "macro_sql": "{% macro default__concat(fields) -%}\n {{ fields|join(' || ') }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.916256, "supported_languages": null}, "macro.dbt.split_part": {"name": "split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.split_part", "macro_sql": "{% macro split_part(string_text, delimiter_text, part_number) %}\n {{ return(adapter.dispatch('split_part', 'dbt') (string_text, delimiter_text, part_number)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9170961, "supported_languages": null}, "macro.dbt.default__split_part": {"name": "default__split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.default__split_part", "macro_sql": "{% macro default__split_part(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9174216, "supported_languages": null}, "macro.dbt._split_part_negative": {"name": "_split_part_negative", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt._split_part_negative", "macro_sql": "{% macro _split_part_negative(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 2 + {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9178545, "supported_languages": null}, "macro.dbt.bool_or": {"name": "bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.bool_or", "macro_sql": "{% macro bool_or(expression) -%}\n {{ return(adapter.dispatch('bool_or', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__bool_or"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9183145, "supported_languages": null}, "macro.dbt.default__bool_or": {"name": "default__bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.default__bool_or", "macro_sql": "{% macro default__bool_or(expression) -%}\n\n bool_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9186306, "supported_languages": null}, "macro.dbt.right": {"name": "right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.right", "macro_sql": "{% macro right(string_text, length_expression) -%}\n {{ return(adapter.dispatch('right', 'dbt') (string_text, length_expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__right"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.919163, "supported_languages": null}, "macro.dbt.default__right": {"name": "default__right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.default__right", "macro_sql": "{% macro default__right(string_text, length_expression) %}\n\n right(\n {{ string_text }},\n {{ length_expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9194305, "supported_languages": null}, "macro.dbt.dateadd": {"name": "dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.dateadd", "macro_sql": "{% macro dateadd(datepart, interval, from_date_or_timestamp) %}\n {{ return(adapter.dispatch('dateadd', 'dbt')(datepart, interval, from_date_or_timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.920033, "supported_languages": null}, "macro.dbt.default__dateadd": {"name": "default__dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.default__dateadd", "macro_sql": "{% macro default__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_date_or_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9203749, "supported_languages": null}, "macro.dbt.hash": {"name": "hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.hash", "macro_sql": "{% macro hash(field) -%}\n {{ return(adapter.dispatch('hash', 'dbt') (field)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9208474, "supported_languages": null}, "macro.dbt.default__hash": {"name": "default__hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.default__hash", "macro_sql": "{% macro default__hash(field) -%}\n md5(cast({{ field }} as {{ api.Column.translate_type('string') }}))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9211845, "supported_languages": null}, "macro.dbt.last_day": {"name": "last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.last_day", "macro_sql": "{% macro last_day(date, datepart) %}\n {{ return(adapter.dispatch('last_day', 'dbt') (date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9217958, "supported_languages": null}, "macro.dbt.default_last_day": {"name": "default_last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default_last_day", "macro_sql": "\n\n{%- macro default_last_day(date, datepart) -%}\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd(datepart, '1', dbt.date_trunc(datepart, date))\n )}}\n as date)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.922303, "supported_languages": null}, "macro.dbt.default__last_day": {"name": "default__last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default__last_day", "macro_sql": "{% macro default__last_day(date, datepart) -%}\n {{dbt.default_last_day(date, datepart)}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9225938, "supported_languages": null}, "macro.dbt.array_append": {"name": "array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.array_append", "macro_sql": "{% macro array_append(array, new_element) -%}\n {{ return(adapter.dispatch('array_append', 'dbt')(array, new_element)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_append"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9231036, "supported_languages": null}, "macro.dbt.default__array_append": {"name": "default__array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.default__array_append", "macro_sql": "{% macro default__array_append(array, new_element) -%}\n array_append({{ array }}, {{ new_element }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9233673, "supported_languages": null}, "macro.dbt.type_string": {"name": "type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_string", "macro_sql": "\n\n{%- macro type_string() -%}\n {{ return(adapter.dispatch('type_string', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9248917, "supported_languages": null}, "macro.dbt.default__type_string": {"name": "default__type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_string", "macro_sql": "{% macro default__type_string() %}\n {{ return(api.Column.translate_type(\"string\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9252357, "supported_languages": null}, "macro.dbt.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_timestamp", "macro_sql": "\n\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9255567, "supported_languages": null}, "macro.dbt.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() %}\n {{ return(api.Column.translate_type(\"timestamp\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.925855, "supported_languages": null}, "macro.dbt.type_float": {"name": "type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_float", "macro_sql": "\n\n{%- macro type_float() -%}\n {{ return(adapter.dispatch('type_float', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9261653, "supported_languages": null}, "macro.dbt.default__type_float": {"name": "default__type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_float", "macro_sql": "{% macro default__type_float() %}\n {{ return(api.Column.translate_type(\"float\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.926454, "supported_languages": null}, "macro.dbt.type_numeric": {"name": "type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_numeric", "macro_sql": "\n\n{%- macro type_numeric() -%}\n {{ return(adapter.dispatch('type_numeric', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9268756, "supported_languages": null}, "macro.dbt.default__type_numeric": {"name": "default__type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_numeric", "macro_sql": "{% macro default__type_numeric() %}\n {{ return(api.Column.numeric_type(\"numeric\", 28, 6)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.927219, "supported_languages": null}, "macro.dbt.type_bigint": {"name": "type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_bigint", "macro_sql": "\n\n{%- macro type_bigint() -%}\n {{ return(adapter.dispatch('type_bigint', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9275348, "supported_languages": null}, "macro.dbt.default__type_bigint": {"name": "default__type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_bigint", "macro_sql": "{% macro default__type_bigint() %}\n {{ return(api.Column.translate_type(\"bigint\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9278314, "supported_languages": null}, "macro.dbt.type_int": {"name": "type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_int", "macro_sql": "\n\n{%- macro type_int() -%}\n {{ return(adapter.dispatch('type_int', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.928144, "supported_languages": null}, "macro.dbt.default__type_int": {"name": "default__type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_int", "macro_sql": "{%- macro default__type_int() -%}\n {{ return(api.Column.translate_type(\"integer\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9284296, "supported_languages": null}, "macro.dbt.type_boolean": {"name": "type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_boolean", "macro_sql": "\n\n{%- macro type_boolean() -%}\n {{ return(adapter.dispatch('type_boolean', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9287453, "supported_languages": null}, "macro.dbt.default__type_boolean": {"name": "default__type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_boolean", "macro_sql": "{%- macro default__type_boolean() -%}\n {{ return(api.Column.translate_type(\"boolean\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9290278, "supported_languages": null}, "macro.dbt.string_literal": {"name": "string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.string_literal", "macro_sql": "{%- macro string_literal(value) -%}\n {{ return(adapter.dispatch('string_literal', 'dbt') (value)) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9295146, "supported_languages": null}, "macro.dbt.default__string_literal": {"name": "default__string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.default__string_literal", "macro_sql": "{% macro default__string_literal(value) -%}\n '{{ value }}'\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.929725, "supported_languages": null}, "macro.dbt.array_concat": {"name": "array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.array_concat", "macro_sql": "{% macro array_concat(array_1, array_2) -%}\n {{ return(adapter.dispatch('array_concat', 'dbt')(array_1, array_2)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9302323, "supported_languages": null}, "macro.dbt.default__array_concat": {"name": "default__array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.default__array_concat", "macro_sql": "{% macro default__array_concat(array_1, array_2) -%}\n array_cat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9304957, "supported_languages": null}, "macro.dbt.cast_bool_to_text": {"name": "cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.cast_bool_to_text", "macro_sql": "{% macro cast_bool_to_text(field) %}\n {{ adapter.dispatch('cast_bool_to_text', 'dbt') (field) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9309433, "supported_languages": null}, "macro.dbt.default__cast_bool_to_text": {"name": "default__cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.default__cast_bool_to_text", "macro_sql": "{% macro default__cast_bool_to_text(field) %}\n cast({{ field }} as {{ api.Column.translate_type('string') }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.931292, "supported_languages": null}, "macro.dbt.datediff": {"name": "datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.datediff", "macro_sql": "{% macro datediff(first_date, second_date, datepart) %}\n {{ return(adapter.dispatch('datediff', 'dbt')(first_date, second_date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9319706, "supported_languages": null}, "macro.dbt.default__datediff": {"name": "default__datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.default__datediff", "macro_sql": "{% macro default__datediff(first_date, second_date, datepart) -%}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9323006, "supported_languages": null}, "macro.dbt.date": {"name": "date", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date.sql", "original_file_path": "macros/utils/date.sql", "unique_id": "macro.dbt.date", "macro_sql": "{% macro date(year, month, day) %}\n {{ return(adapter.dispatch('date', 'dbt') (year, month, day)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.932905, "supported_languages": null}, "macro.dbt.default__date": {"name": "default__date", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date.sql", "original_file_path": "macros/utils/date.sql", "unique_id": "macro.dbt.default__date", "macro_sql": "{% macro default__date(year, month, day) -%}\n {%- set dt = modules.datetime.date(year, month, day) -%}\n {%- set iso_8601_formatted_date = dt.strftime('%Y-%m-%d') -%}\n to_date('{{ iso_8601_formatted_date }}', 'YYYY-MM-DD')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9334817, "supported_languages": null}, "macro.dbt.safe_cast": {"name": "safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.safe_cast", "macro_sql": "{% macro safe_cast(field, type) %}\n {{ return(adapter.dispatch('safe_cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9340038, "supported_languages": null}, "macro.dbt.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9342792, "supported_languages": null}, "macro.dbt.cast": {"name": "cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast.sql", "original_file_path": "macros/utils/cast.sql", "unique_id": "macro.dbt.cast", "macro_sql": "{% macro cast(field, type) %}\n {{ return(adapter.dispatch('cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.934787, "supported_languages": null}, "macro.dbt.default__cast": {"name": "default__cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast.sql", "original_file_path": "macros/utils/cast.sql", "unique_id": "macro.dbt.default__cast", "macro_sql": "{% macro default__cast(field, type) %}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9351585, "supported_languages": null}, "macro.dbt.date_trunc": {"name": "date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.date_trunc", "macro_sql": "{% macro date_trunc(datepart, date) -%}\n {{ return(adapter.dispatch('date_trunc', 'dbt') (datepart, date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9356654, "supported_languages": null}, "macro.dbt.default__date_trunc": {"name": "default__date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.default__date_trunc", "macro_sql": "{% macro default__date_trunc(datepart, date) -%}\n date_trunc('{{datepart}}', {{date}})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9359212, "supported_languages": null}, "macro.dbt.array_construct": {"name": "array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.array_construct", "macro_sql": "{% macro array_construct(inputs=[], data_type=api.Column.translate_type('integer')) -%}\n {{ return(adapter.dispatch('array_construct', 'dbt')(inputs, data_type)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9365995, "supported_languages": null}, "macro.dbt.default__array_construct": {"name": "default__array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.default__array_construct", "macro_sql": "{% macro default__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n array[ {{ inputs|join(' , ') }} ]\n {% else %}\n array[]::{{data_type}}[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9370906, "supported_languages": null}, "macro.dbt.run_hooks": {"name": "run_hooks", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.run_hooks", "macro_sql": "{% macro run_hooks(hooks, inside_transaction=True) %}\n {% for hook in hooks | selectattr('transaction', 'equalto', inside_transaction) %}\n {% if not inside_transaction and loop.first %}\n {% call statement(auto_begin=inside_transaction) %}\n commit;\n {% endcall %}\n {% endif %}\n {% set rendered = render(hook.get('sql')) | trim %}\n {% if (rendered | length) > 0 %}\n {% call statement(auto_begin=inside_transaction) %}\n {{ rendered }}\n {% endcall %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9389694, "supported_languages": null}, "macro.dbt.make_hook_config": {"name": "make_hook_config", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.make_hook_config", "macro_sql": "{% macro make_hook_config(sql, inside_transaction) %}\n {{ tojson({\"sql\": sql, \"transaction\": inside_transaction}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9393513, "supported_languages": null}, "macro.dbt.before_begin": {"name": "before_begin", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.before_begin", "macro_sql": "{% macro before_begin(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9396389, "supported_languages": null}, "macro.dbt.in_transaction": {"name": "in_transaction", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.in_transaction", "macro_sql": "{% macro in_transaction(sql) %}\n {{ make_hook_config(sql, inside_transaction=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9399226, "supported_languages": null}, "macro.dbt.after_commit": {"name": "after_commit", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.after_commit", "macro_sql": "{% macro after_commit(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9402068, "supported_languages": null}, "macro.dbt.set_sql_header": {"name": "set_sql_header", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.set_sql_header", "macro_sql": "{% macro set_sql_header(config) -%}\n {{ config.set('sql_header', caller()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9408436, "supported_languages": null}, "macro.dbt.should_full_refresh": {"name": "should_full_refresh", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_full_refresh", "macro_sql": "{% macro should_full_refresh() %}\n {% set config_full_refresh = config.get('full_refresh') %}\n {% if config_full_refresh is none %}\n {% set config_full_refresh = flags.FULL_REFRESH %}\n {% endif %}\n {% do return(config_full_refresh) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.941445, "supported_languages": null}, "macro.dbt.should_store_failures": {"name": "should_store_failures", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_store_failures", "macro_sql": "{% macro should_store_failures() %}\n {% set config_store_failures = config.get('store_failures') %}\n {% if config_store_failures is none %}\n {% set config_store_failures = flags.STORE_FAILURES %}\n {% endif %}\n {% do return(config_store_failures) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9420283, "supported_languages": null}, "macro.dbt.materialization_table_default": {"name": "materialization_table_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table.sql", "original_file_path": "macros/materializations/models/table.sql", "unique_id": "macro.dbt.materialization_table_default", "macro_sql": "{% materialization table, default %}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') %}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n See ../view/view.sql for more information about this relation.\n */\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_table_as_sql(False, intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n {% if existing_relation is not none %}\n /* Do the equivalent of rename_if_exists. 'existing_relation' could have been dropped\n since the variable was first set. */\n {% set existing_relation = load_cached_relation(existing_relation) %}\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {% endif %}\n\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% do create_indexes(target_relation) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n -- finally, drop the existing/backup relation after the commit\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.get_create_table_as_sql", "macro.dbt.create_indexes", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9470322, "supported_languages": ["sql"]}, "macro.dbt.materialization_materialized_view_default": {"name": "materialization_materialized_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialization_materialized_view_default", "macro_sql": "{% materialization materialized_view, default %}\n {% set existing_relation = load_cached_relation(this) %}\n {% set target_relation = this.incorporate(type=this.MaterializedView) %}\n {% set intermediate_relation = make_intermediate_relation(target_relation) %}\n {% set backup_relation_type = target_relation.MaterializedView if existing_relation is none else existing_relation.type %}\n {% set backup_relation = make_backup_relation(target_relation, backup_relation_type) %}\n\n {{ materialized_view_setup(backup_relation, intermediate_relation, pre_hooks) }}\n\n {% set build_sql = materialized_view_get_build_sql(existing_relation, target_relation, backup_relation, intermediate_relation) %}\n\n {% if build_sql == '' %}\n {{ materialized_view_execute_no_op(target_relation) }}\n {% else %}\n {{ materialized_view_execute_build_sql(build_sql, existing_relation, target_relation, post_hooks) }}\n {% endif %}\n\n {{ materialized_view_teardown(backup_relation, intermediate_relation, post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.materialized_view_setup", "macro.dbt.materialized_view_get_build_sql", "macro.dbt.materialized_view_execute_no_op", "macro.dbt.materialized_view_execute_build_sql", "macro.dbt.materialized_view_teardown"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9543655, "supported_languages": ["sql"]}, "macro.dbt.materialized_view_setup": {"name": "materialized_view_setup", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_setup", "macro_sql": "{% macro materialized_view_setup(backup_relation, intermediate_relation, pre_hooks) %}\n\n -- backup_relation and intermediate_relation should not already exist in the database\n -- it's possible these exist because of a previous run that exited unexpectedly\n {% set preexisting_backup_relation = load_cached_relation(backup_relation) %}\n {% set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9551191, "supported_languages": null}, "macro.dbt.materialized_view_teardown": {"name": "materialized_view_teardown", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_teardown", "macro_sql": "{% macro materialized_view_teardown(backup_relation, intermediate_relation, post_hooks) %}\n\n -- drop the temp relations if they exist to leave the database clean for the next run\n {{ drop_relation_if_exists(backup_relation) }}\n {{ drop_relation_if_exists(intermediate_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9556048, "supported_languages": null}, "macro.dbt.materialized_view_get_build_sql": {"name": "materialized_view_get_build_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_get_build_sql", "macro_sql": "{% macro materialized_view_get_build_sql(existing_relation, target_relation, backup_relation, intermediate_relation) %}\n\n {% set full_refresh_mode = should_full_refresh() %}\n\n -- determine the scenario we're in: create, full_refresh, alter, refresh data\n {% if existing_relation is none %}\n {% set build_sql = get_create_materialized_view_as_sql(target_relation, sql) %}\n {% elif full_refresh_mode or not existing_relation.is_materialized_view %}\n {% set build_sql = get_replace_sql(existing_relation, target_relation, sql) %}\n {% else %}\n\n -- get config options\n {% set on_configuration_change = config.get('on_configuration_change') %}\n {% set configuration_changes = get_materialized_view_configuration_changes(existing_relation, config) %}\n\n {% if configuration_changes is none %}\n {% set build_sql = refresh_materialized_view(target_relation) %}\n\n {% elif on_configuration_change == 'apply' %}\n {% set build_sql = get_alter_materialized_view_as_sql(target_relation, configuration_changes, sql, existing_relation, backup_relation, intermediate_relation) %}\n {% elif on_configuration_change == 'continue' %}\n {% set build_sql = '' %}\n {{ exceptions.warn(\"Configuration changes were identified and `on_configuration_change` was set to `continue` for `\" ~ target_relation ~ \"`\") }}\n {% elif on_configuration_change == 'fail' %}\n {{ exceptions.raise_fail_fast_error(\"Configuration changes were identified and `on_configuration_change` was set to `fail` for `\" ~ target_relation ~ \"`\") }}\n\n {% else %}\n -- this only happens if the user provides a value other than `apply`, 'skip', 'fail'\n {{ exceptions.raise_compiler_error(\"Unexpected configuration scenario\") }}\n\n {% endif %}\n\n {% endif %}\n\n {% do return(build_sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.get_create_materialized_view_as_sql", "macro.dbt.get_replace_sql", "macro.dbt.get_materialized_view_configuration_changes", "macro.dbt.refresh_materialized_view", "macro.dbt.get_alter_materialized_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9580283, "supported_languages": null}, "macro.dbt.materialized_view_execute_no_op": {"name": "materialized_view_execute_no_op", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_execute_no_op", "macro_sql": "{% macro materialized_view_execute_no_op(target_relation) %}\n {% do store_raw_result(\n name=\"main\",\n message=\"skip \" ~ target_relation,\n code=\"skip\",\n rows_affected=\"-1\"\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9584634, "supported_languages": null}, "macro.dbt.materialized_view_execute_build_sql": {"name": "materialized_view_execute_build_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/materialized_view.sql", "original_file_path": "macros/materializations/models/materialized_view.sql", "unique_id": "macro.dbt.materialized_view_execute_build_sql", "macro_sql": "{% macro materialized_view_execute_build_sql(build_sql, existing_relation, target_relation, post_hooks) %}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set grant_config = config.get('grants') %}\n\n {% call statement(name=\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9596832, "supported_languages": null}, "macro.dbt.materialization_view_default": {"name": "materialization_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view.sql", "original_file_path": "macros/materializations/models/view.sql", "unique_id": "macro.dbt.materialization_view_default", "macro_sql": "{%- materialization view, default -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='view') -%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n This relation (probably) doesn't exist yet. If it does exist, it's a leftover from\n a previous run, and we're going to try to drop it immediately. At the end of this\n materialization, we're going to rename the \"existing_relation\" to this identifier,\n and then we're going to drop it. In order to make sure we run the correct one of:\n - drop view ...\n - drop table ...\n\n We need to set the type of this relation to be the type of the existing_relation, if it exists,\n or else \"view\" as a sane default if it does not. Note that if the existing_relation does not\n exist, then there is nothing to move out of the way and subsequentally drop. In that case,\n this relation will be effectively unused.\n */\n {%- set backup_relation_type = 'view' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n -- move the existing view out of the way\n {% if existing_relation is not none %}\n /* Do the equivalent of rename_if_exists. 'existing_relation' could have been dropped\n since the variable was first set. */\n {% set existing_relation = load_cached_relation(existing_relation) %}\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {% endif %}\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.run_hooks", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9645422, "supported_languages": ["sql"]}, "macro.dbt.materialization_clone_default": {"name": "materialization_clone_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/clone.sql", "original_file_path": "macros/materializations/models/clone/clone.sql", "unique_id": "macro.dbt.materialization_clone_default", "macro_sql": "{%- materialization clone, default -%}\n\n {%- set relations = {'relations': []} -%}\n\n {%- if not defer_relation -%}\n -- nothing to do\n {{ log(\"No relation found in state manifest for \" ~ model.unique_id, info=True) }}\n {{ return(relations) }}\n {%- endif -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n\n {%- if existing_relation and not flags.FULL_REFRESH -%}\n -- noop!\n {{ log(\"Relation \" ~ existing_relation ~ \" already exists\", info=True) }}\n {{ return(relations) }}\n {%- endif -%}\n\n {%- set other_existing_relation = load_cached_relation(defer_relation) -%}\n\n -- If this is a database that can do zero-copy cloning of tables, and the other relation is a table, then this will be a table\n -- Otherwise, this will be a view\n\n {% set can_clone_table = can_clone_table() %}\n\n {%- if other_existing_relation and other_existing_relation.type == 'table' and can_clone_table -%}\n\n {%- set target_relation = this.incorporate(type='table') -%}\n {% if existing_relation is not none and not existing_relation.is_table %}\n {{ log(\"Dropping relation \" ~ existing_relation ~ \" because it is of type \" ~ existing_relation.type) }}\n {{ drop_relation_if_exists(existing_relation) }}\n {% endif %}\n\n -- as a general rule, data platforms that can clone tables can also do atomic 'create or replace'\n {% call statement('main') %}\n {% if target_relation and defer_relation and target_relation == defer_relation %}\n {{ log(\"Target relation and defer relation are the same, skipping clone for relation: \" ~ target_relation) }}\n {% else %}\n {{ create_or_replace_clone(target_relation, defer_relation) }}\n {% endif %}\n\n {% endcall %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n {%- else -%}\n\n {%- set target_relation = this.incorporate(type='view') -%}\n\n -- reuse the view materialization\n -- TODO: support actual dispatch for materialization macros\n -- Tracking ticket: https://github.com/dbt-labs/dbt-core/issues/7799\n {% set search_name = \"materialization_view_\" ~ adapter.type() %}\n {% if not search_name in context %}\n {% set search_name = \"materialization_view_default\" %}\n {% endif %}\n {% set materialization_macro = context[search_name] %}\n {% set relations = materialization_macro() %}\n {{ return(relations) }}\n\n {%- endif -%}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.can_clone_table", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.create_or_replace_clone", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9706905, "supported_languages": ["sql"]}, "macro.dbt.create_or_replace_clone": {"name": "create_or_replace_clone", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/create_or_replace_clone.sql", "original_file_path": "macros/materializations/models/clone/create_or_replace_clone.sql", "unique_id": "macro.dbt.create_or_replace_clone", "macro_sql": "{% macro create_or_replace_clone(this_relation, defer_relation) %}\n {{ return(adapter.dispatch('create_or_replace_clone', 'dbt')(this_relation, defer_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_or_replace_clone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.971335, "supported_languages": null}, "macro.dbt.default__create_or_replace_clone": {"name": "default__create_or_replace_clone", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/create_or_replace_clone.sql", "original_file_path": "macros/materializations/models/clone/create_or_replace_clone.sql", "unique_id": "macro.dbt.default__create_or_replace_clone", "macro_sql": "{% macro default__create_or_replace_clone(this_relation, defer_relation) %}\n create or replace table {{ this_relation }} clone {{ defer_relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9716141, "supported_languages": null}, "macro.dbt.can_clone_table": {"name": "can_clone_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/can_clone_table.sql", "original_file_path": "macros/materializations/models/clone/can_clone_table.sql", "unique_id": "macro.dbt.can_clone_table", "macro_sql": "{% macro can_clone_table() %}\n {{ return(adapter.dispatch('can_clone_table', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__can_clone_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9720638, "supported_languages": null}, "macro.dbt.default__can_clone_table": {"name": "default__can_clone_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/clone/can_clone_table.sql", "original_file_path": "macros/materializations/models/clone/can_clone_table.sql", "unique_id": "macro.dbt.default__can_clone_table", "macro_sql": "{% macro default__can_clone_table() %}\n {{ return(False) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.972389, "supported_languages": null}, "macro.dbt.incremental_validate_on_schema_change": {"name": "incremental_validate_on_schema_change", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.incremental_validate_on_schema_change", "macro_sql": "{% macro incremental_validate_on_schema_change(on_schema_change, default='ignore') %}\n\n {% if on_schema_change not in ['sync_all_columns', 'append_new_columns', 'fail', 'ignore'] %}\n\n {% set log_message = 'Invalid value for on_schema_change (%s) specified. Setting default value of %s.' % (on_schema_change, default) %}\n {% do log(log_message) %}\n\n {{ return(default) }}\n\n {% else %}\n\n {{ return(on_schema_change) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9800694, "supported_languages": null}, "macro.dbt.check_for_schema_changes": {"name": "check_for_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.check_for_schema_changes", "macro_sql": "{% macro check_for_schema_changes(source_relation, target_relation) %}\n\n {% set schema_changed = False %}\n\n {%- set source_columns = adapter.get_columns_in_relation(source_relation) -%}\n {%- set target_columns = adapter.get_columns_in_relation(target_relation) -%}\n {%- set source_not_in_target = diff_columns(source_columns, target_columns) -%}\n {%- set target_not_in_source = diff_columns(target_columns, source_columns) -%}\n\n {% set new_target_types = diff_column_data_types(source_columns, target_columns) %}\n\n {% if source_not_in_target != [] %}\n {% set schema_changed = True %}\n {% elif target_not_in_source != [] or new_target_types != [] %}\n {% set schema_changed = True %}\n {% elif new_target_types != [] %}\n {% set schema_changed = True %}\n {% endif %}\n\n {% set changes_dict = {\n 'schema_changed': schema_changed,\n 'source_not_in_target': source_not_in_target,\n 'target_not_in_source': target_not_in_source,\n 'source_columns': source_columns,\n 'target_columns': target_columns,\n 'new_target_types': new_target_types\n } %}\n\n {% set msg %}\n In {{ target_relation }}:\n Schema changed: {{ schema_changed }}\n Source columns not in target: {{ source_not_in_target }}\n Target columns not in source: {{ target_not_in_source }}\n New column types: {{ new_target_types }}\n {% endset %}\n\n {% do log(msg) %}\n\n {{ return(changes_dict) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.diff_columns", "macro.dbt.diff_column_data_types"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9824433, "supported_languages": null}, "macro.dbt.sync_column_schemas": {"name": "sync_column_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.sync_column_schemas", "macro_sql": "{% macro sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {%- set add_to_target_arr = schema_changes_dict['source_not_in_target'] -%}\n\n {%- if on_schema_change == 'append_new_columns'-%}\n {%- if add_to_target_arr | length > 0 -%}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, none) -%}\n {%- endif -%}\n\n {% elif on_schema_change == 'sync_all_columns' %}\n {%- set remove_from_target_arr = schema_changes_dict['target_not_in_source'] -%}\n {%- set new_target_types = schema_changes_dict['new_target_types'] -%}\n\n {% if add_to_target_arr | length > 0 or remove_from_target_arr | length > 0 %}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, remove_from_target_arr) -%}\n {% endif %}\n\n {% if new_target_types != [] %}\n {% for ntt in new_target_types %}\n {% set column_name = ntt['column_name'] %}\n {% set new_type = ntt['new_type'] %}\n {% do alter_column_type(target_relation, column_name, new_type) %}\n {% endfor %}\n {% endif %}\n\n {% endif %}\n\n {% set schema_change_message %}\n In {{ target_relation }}:\n Schema change approach: {{ on_schema_change }}\n Columns added: {{ add_to_target_arr }}\n Columns removed: {{ remove_from_target_arr }}\n Data types changed: {{ new_target_types }}\n {% endset %}\n\n {% do log(schema_change_message) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_relation_add_remove_columns", "macro.dbt.alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9848707, "supported_languages": null}, "macro.dbt.process_schema_changes": {"name": "process_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.process_schema_changes", "macro_sql": "{% macro process_schema_changes(on_schema_change, source_relation, target_relation) %}\n\n {% if on_schema_change == 'ignore' %}\n\n {{ return({}) }}\n\n {% else %}\n\n {% set schema_changes_dict = check_for_schema_changes(source_relation, target_relation) %}\n\n {% if schema_changes_dict['schema_changed'] %}\n\n {% if on_schema_change == 'fail' %}\n\n {% set fail_msg %}\n The source and target schemas on this incremental model are out of sync!\n They can be reconciled in several ways:\n - set the `on_schema_change` config to either append_new_columns or sync_all_columns, depending on your situation.\n - Re-run the incremental model with `full_refresh: True` to update the target schema.\n - update the schema manually and re-run the process.\n\n Additional troubleshooting context:\n Source columns not in target: {{ schema_changes_dict['source_not_in_target'] }}\n Target columns not in source: {{ schema_changes_dict['target_not_in_source'] }}\n New column types: {{ schema_changes_dict['new_target_types'] }}\n {% endset %}\n\n {% do exceptions.raise_compiler_error(fail_msg) %}\n\n {# -- unless we ignore, run the sync operation per the config #}\n {% else %}\n\n {% do sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {% endif %}\n\n {% endif %}\n\n {{ return(schema_changes_dict['source_columns']) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.check_for_schema_changes", "macro.dbt.sync_column_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9865172, "supported_languages": null}, "macro.dbt.get_merge_sql": {"name": "get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_merge_sql", "macro_sql": "{% macro get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n -- back compat for old kwarg name\n {% set incremental_predicates = kwargs.get('predicates', incremental_predicates) %}\n {{ adapter.dispatch('get_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9939287, "supported_languages": null}, "macro.dbt.default__get_merge_sql": {"name": "default__get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_merge_sql", "macro_sql": "{% macro default__get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n {%- set predicates = [] if incremental_predicates is none else [] + incremental_predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set merge_update_columns = config.get('merge_update_columns') -%}\n {%- set merge_exclude_columns = config.get('merge_exclude_columns') -%}\n {%- set update_columns = get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not mapping and unique_key is not string %}\n {% for key in unique_key %}\n {% set this_key_match %}\n DBT_INTERNAL_SOURCE.{{ key }} = DBT_INTERNAL_DEST.{{ key }}\n {% endset %}\n {% do predicates.append(this_key_match) %}\n {% endfor %}\n {% else %}\n {% set unique_key_match %}\n DBT_INTERNAL_SOURCE.{{ unique_key }} = DBT_INTERNAL_DEST.{{ unique_key }}\n {% endset %}\n {% do predicates.append(unique_key_match) %}\n {% endif %}\n {% else %}\n {% do predicates.append('FALSE') %}\n {% endif %}\n\n {{ sql_header if sql_header is not none }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on {{\"(\" ~ predicates | join(\") and (\") ~ \")\"}}\n\n {% if unique_key %}\n when matched then update set\n {% for column_name in update_columns -%}\n {{ column_name }} = DBT_INTERNAL_SOURCE.{{ column_name }}\n {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n {% endif %}\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt.get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.9969938, "supported_languages": null}, "macro.dbt.get_delete_insert_merge_sql": {"name": "get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_delete_insert_merge_sql", "macro_sql": "{% macro get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n {{ adapter.dispatch('get_delete_insert_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.997536, "supported_languages": null}, "macro.dbt.default__get_delete_insert_merge_sql": {"name": "default__get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_delete_insert_merge_sql", "macro_sql": "{% macro default__get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not string %}\n delete from {{target }}\n using {{ source }}\n where (\n {% for key in unique_key %}\n {{ source }}.{{ key }} = {{ target }}.{{ key }}\n {{ \"and \" if not loop.last}}\n {% endfor %}\n {% if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {% endif %}\n );\n {% else %}\n delete from {{ target }}\n where (\n {{ unique_key }}) in (\n select ({{ unique_key }})\n from {{ source }}\n )\n {%- if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {%- endif -%};\n\n {% endif %}\n {% endif %}\n\n insert into {{ target }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ source }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.999442, "supported_languages": null}, "macro.dbt.get_insert_overwrite_merge_sql": {"name": "get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_insert_overwrite_merge_sql", "macro_sql": "{% macro get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header=false) -%}\n {{ adapter.dispatch('get_insert_overwrite_merge_sql', 'dbt')(target, source, dest_columns, predicates, include_sql_header) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335126.999951, "supported_languages": null}, "macro.dbt.default__get_insert_overwrite_merge_sql": {"name": "default__get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_insert_overwrite_merge_sql", "macro_sql": "{% macro default__get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header) -%}\n {#-- The only time include_sql_header is True: --#}\n {#-- BigQuery + insert_overwrite strategy + \"static\" partitions config --#}\n {#-- We should consider including the sql header at the materialization level instead --#}\n\n {%- set predicates = [] if predicates is none else [] + predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none and include_sql_header }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on FALSE\n\n when not matched by source\n {% if predicates %} and {{ predicates | join(' and ') }} {% endif %}\n then delete\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0011916, "supported_languages": null}, "macro.dbt.is_incremental": {"name": "is_incremental", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/is_incremental.sql", "original_file_path": "macros/materializations/models/incremental/is_incremental.sql", "unique_id": "macro.dbt.is_incremental", "macro_sql": "{% macro is_incremental() %}\n {#-- do not run introspective queries in parsing #}\n {% if not execute %}\n {{ return(False) }}\n {% else %}\n {% set relation = adapter.get_relation(this.database, this.schema, this.table) %}\n {{ return(relation is not none\n and relation.type == 'table'\n and model.config.materialized == 'incremental'\n and not should_full_refresh()) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0023193, "supported_languages": null}, "macro.dbt.get_quoted_csv": {"name": "get_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_quoted_csv", "macro_sql": "{% macro get_quoted_csv(column_names) %}\n\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote(col)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.004753, "supported_languages": null}, "macro.dbt.diff_columns": {"name": "diff_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_columns", "macro_sql": "{% macro diff_columns(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% set source_names = source_columns | map(attribute = 'column') | list %}\n {% set target_names = target_columns | map(attribute = 'column') | list %}\n\n {# --check whether the name attribute exists in the target - this does not perform a data type check #}\n {% for sc in source_columns %}\n {% if sc.name not in target_names %}\n {{ result.append(sc) }}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.005839, "supported_languages": null}, "macro.dbt.diff_column_data_types": {"name": "diff_column_data_types", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_column_data_types", "macro_sql": "{% macro diff_column_data_types(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% for sc in source_columns %}\n {% set tc = target_columns | selectattr(\"name\", \"equalto\", sc.name) | list | first %}\n {% if tc %}\n {% if sc.data_type != tc.data_type and not sc.can_expand_to(other_column=tc) %}\n {{ result.append( { 'column_name': tc.name, 'new_type': sc.data_type } ) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0071082, "supported_languages": null}, "macro.dbt.get_merge_update_columns": {"name": "get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_merge_update_columns", "macro_sql": "{% macro get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {{ return(adapter.dispatch('get_merge_update_columns', 'dbt')(merge_update_columns, merge_exclude_columns, dest_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0075624, "supported_languages": null}, "macro.dbt.default__get_merge_update_columns": {"name": "default__get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.default__get_merge_update_columns", "macro_sql": "{% macro default__get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {%- set default_cols = dest_columns | map(attribute=\"quoted\") | list -%}\n\n {%- if merge_update_columns and merge_exclude_columns -%}\n {{ exceptions.raise_compiler_error(\n 'Model cannot specify merge_update_columns and merge_exclude_columns. Please update model to use only one config'\n )}}\n {%- elif merge_update_columns -%}\n {%- set update_columns = merge_update_columns -%}\n {%- elif merge_exclude_columns -%}\n {%- set update_columns = [] -%}\n {%- for column in dest_columns -%}\n {% if column.column | lower not in merge_exclude_columns | map(\"lower\") | list %}\n {%- do update_columns.append(column.quoted) -%}\n {% endif %}\n {%- endfor -%}\n {%- else -%}\n {%- set update_columns = default_cols -%}\n {%- endif -%}\n\n {{ return(update_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.009103, "supported_languages": null}, "macro.dbt.get_incremental_append_sql": {"name": "get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_append_sql", "macro_sql": "{% macro get_incremental_append_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_append_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0105498, "supported_languages": null}, "macro.dbt.default__get_incremental_append_sql": {"name": "default__get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_append_sql", "macro_sql": "{% macro default__get_incremental_append_sql(arg_dict) %}\n\n {% do return(get_insert_into_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_into_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0110142, "supported_languages": null}, "macro.dbt.get_incremental_delete_insert_sql": {"name": "get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_delete_insert_sql", "macro_sql": "{% macro get_incremental_delete_insert_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_delete_insert_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_delete_insert_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0113883, "supported_languages": null}, "macro.dbt.default__get_incremental_delete_insert_sql": {"name": "default__get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_delete_insert_sql", "macro_sql": "{% macro default__get_incremental_delete_insert_sql(arg_dict) %}\n\n {% do return(get_delete_insert_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0119538, "supported_languages": null}, "macro.dbt.get_incremental_merge_sql": {"name": "get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_merge_sql", "macro_sql": "{% macro get_incremental_merge_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_merge_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0123081, "supported_languages": null}, "macro.dbt.default__get_incremental_merge_sql": {"name": "default__get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_merge_sql", "macro_sql": "{% macro default__get_incremental_merge_sql(arg_dict) %}\n\n {% do return(get_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0129929, "supported_languages": null}, "macro.dbt.get_incremental_insert_overwrite_sql": {"name": "get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_insert_overwrite_sql", "macro_sql": "{% macro get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_insert_overwrite_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0133746, "supported_languages": null}, "macro.dbt.default__get_incremental_insert_overwrite_sql": {"name": "default__get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_insert_overwrite_sql", "macro_sql": "{% macro default__get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {% do return(get_insert_overwrite_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0138898, "supported_languages": null}, "macro.dbt.get_incremental_default_sql": {"name": "get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_default_sql", "macro_sql": "{% macro get_incremental_default_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_default_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__get_incremental_default_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0142417, "supported_languages": null}, "macro.dbt.default__get_incremental_default_sql": {"name": "default__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_default_sql", "macro_sql": "{% macro default__get_incremental_default_sql(arg_dict) %}\n\n {% do return(get_incremental_append_sql(arg_dict)) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0145369, "supported_languages": null}, "macro.dbt.get_insert_into_sql": {"name": "get_insert_into_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_insert_into_sql", "macro_sql": "{% macro get_insert_into_sql(target_relation, temp_relation, dest_columns) %}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ temp_relation }}\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.015073, "supported_languages": null}, "macro.dbt.materialization_incremental_default": {"name": "materialization_incremental_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/incremental.sql", "original_file_path": "macros/materializations/models/incremental/incremental.sql", "unique_id": "macro.dbt.materialization_incremental_default", "macro_sql": "{% materialization incremental, default -%}\n\n -- relations\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation)-%}\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n\n -- configs\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh() or existing_relation.is_view) -%}\n {%- set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') -%}\n\n -- the temp_ and backup_ relations should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation. This has to happen before\n -- BEGIN, in a separate transaction\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation)-%}\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set to_drop = [] %}\n\n {% if existing_relation is none %}\n {% set build_sql = get_create_table_as_sql(False, target_relation, sql) %}\n {% elif full_refresh_mode %}\n {% set build_sql = get_create_table_as_sql(False, intermediate_relation, sql) %}\n {% set need_swap = true %}\n {% else %}\n {% do run_query(get_create_table_as_sql(True, temp_relation, sql)) %}\n {% do adapter.expand_target_column_types(\n from_relation=temp_relation,\n to_relation=target_relation) %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, temp_relation, existing_relation) %}\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n\n {#-- Get the incremental_strategy, the macro to use for the strategy, and build the sql --#}\n {% set incremental_strategy = config.get('incremental_strategy') or 'default' %}\n {% set incremental_predicates = config.get('predicates', none) or config.get('incremental_predicates', none) %}\n {% set strategy_sql_macro_func = adapter.get_incremental_strategy_macro(context, incremental_strategy) %}\n {% set strategy_arg_dict = ({'target_relation': target_relation, 'temp_relation': temp_relation, 'unique_key': unique_key, 'dest_columns': dest_columns, 'incremental_predicates': incremental_predicates }) %}\n {% set build_sql = strategy_sql_macro_func(strategy_arg_dict) %}\n\n {% endif %}\n\n {% call statement(\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% if need_swap %}\n {% do adapter.rename_relation(target_relation, backup_relation) %}\n {% do adapter.rename_relation(intermediate_relation, target_relation) %}\n {% do to_drop.append(backup_relation) %}\n {% endif %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if existing_relation is none or existing_relation.is_view or should_full_refresh() %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {% do adapter.commit() %}\n\n {% for rel in to_drop %}\n {% do adapter.drop_relation(rel) %}\n {% endfor %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_temp_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.should_full_refresh", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.get_create_table_as_sql", "macro.dbt.run_query", "macro.dbt.process_schema_changes", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0239618, "supported_languages": ["sql"]}, "macro.dbt.materialization_seed_default": {"name": "materialization_seed_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/seed.sql", "original_file_path": "macros/materializations/seeds/seed.sql", "unique_id": "macro.dbt.materialization_seed_default", "macro_sql": "{% materialization seed, default %}\n\n {%- set identifier = model['alias'] -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n\n {%- set exists_as_table = (old_relation is not none and old_relation.is_table) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set grant_config = config.get('grants') -%}\n {%- set agate_table = load_agate_table() -%}\n -- grab current tables grants config for comparison later on\n\n {%- do store_result('agate_table', response='OK', agate_table=agate_table) -%}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% set create_table_sql = \"\" %}\n {% if exists_as_view %}\n {{ exceptions.raise_compiler_error(\"Cannot seed to '{}', it is a view\".format(old_relation)) }}\n {% elif exists_as_table %}\n {% set create_table_sql = reset_csv_table(model, full_refresh_mode, old_relation, agate_table) %}\n {% else %}\n {% set create_table_sql = create_csv_table(model, agate_table) %}\n {% endif %}\n\n {% set code = 'CREATE' if full_refresh_mode else 'INSERT' %}\n {% set rows_affected = (agate_table.rows | length) %}\n {% set sql = load_csv_rows(model, agate_table) %}\n\n {% call noop_statement('main', code ~ ' ' ~ rows_affected, code, rows_affected) %}\n {{ get_csv_sql(create_table_sql, sql) }};\n {% endcall %}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if full_refresh_mode or not exists_as_table %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.run_hooks", "macro.dbt.reset_csv_table", "macro.dbt.create_csv_table", "macro.dbt.load_csv_rows", "macro.dbt.noop_statement", "macro.dbt.get_csv_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0295727, "supported_languages": ["sql"]}, "macro.dbt.create_csv_table": {"name": "create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.create_csv_table", "macro_sql": "{% macro create_csv_table(model, agate_table) -%}\n {{ adapter.dispatch('create_csv_table', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0364041, "supported_languages": null}, "macro.dbt.default__create_csv_table": {"name": "default__create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__create_csv_table", "macro_sql": "{% macro default__create_csv_table(model, agate_table) %}\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n\n {% set sql %}\n create table {{ this.render() }} (\n {%- for col_name in agate_table.column_names -%}\n {%- set inferred_type = adapter.convert_type(agate_table, loop.index0) -%}\n {%- set type = column_override.get(col_name, inferred_type) -%}\n {%- set column_name = (col_name | string) -%}\n {{ adapter.quote_seed_column(column_name, quote_seed_column) }} {{ type }} {%- if not loop.last -%}, {%- endif -%}\n {%- endfor -%}\n )\n {% endset %}\n\n {% call statement('_') -%}\n {{ sql }}\n {%- endcall %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0381634, "supported_languages": null}, "macro.dbt.reset_csv_table": {"name": "reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.reset_csv_table", "macro_sql": "{% macro reset_csv_table(model, full_refresh, old_relation, agate_table) -%}\n {{ adapter.dispatch('reset_csv_table', 'dbt')(model, full_refresh, old_relation, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__reset_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.038618, "supported_languages": null}, "macro.dbt.default__reset_csv_table": {"name": "default__reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__reset_csv_table", "macro_sql": "{% macro default__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {% set sql = \"\" %}\n {% if full_refresh %}\n {{ adapter.drop_relation(old_relation) }}\n {% set sql = create_csv_table(model, agate_table) %}\n {% else %}\n {{ adapter.truncate_relation(old_relation) }}\n {% set sql = \"truncate table \" ~ old_relation %}\n {% endif %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0395353, "supported_languages": null}, "macro.dbt.get_csv_sql": {"name": "get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_csv_sql", "macro_sql": "{% macro get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ adapter.dispatch('get_csv_sql', 'dbt')(create_or_truncate_sql, insert_sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_csv_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0399065, "supported_languages": null}, "macro.dbt.default__get_csv_sql": {"name": "default__get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_csv_sql", "macro_sql": "{% macro default__get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ create_or_truncate_sql }};\n -- dbt seed --\n {{ insert_sql }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0401752, "supported_languages": null}, "macro.dbt.get_binding_char": {"name": "get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_binding_char", "macro_sql": "{% macro get_binding_char() -%}\n {{ adapter.dispatch('get_binding_char', 'dbt')() }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0404553, "supported_languages": null}, "macro.dbt.default__get_binding_char": {"name": "default__get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_binding_char", "macro_sql": "{% macro default__get_binding_char() %}\n {{ return('%s') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0406873, "supported_languages": null}, "macro.dbt.get_batch_size": {"name": "get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_batch_size", "macro_sql": "{% macro get_batch_size() -%}\n {{ return(adapter.dispatch('get_batch_size', 'dbt')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_batch_size"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0409992, "supported_languages": null}, "macro.dbt.default__get_batch_size": {"name": "default__get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_batch_size", "macro_sql": "{% macro default__get_batch_size() %}\n {{ return(10000) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0412924, "supported_languages": null}, "macro.dbt.get_seed_column_quoted_csv": {"name": "get_seed_column_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_seed_column_quoted_csv", "macro_sql": "{% macro get_seed_column_quoted_csv(model, column_names) %}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote_seed_column(col, quote_seed_column)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0422235, "supported_languages": null}, "macro.dbt.load_csv_rows": {"name": "load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.load_csv_rows", "macro_sql": "{% macro load_csv_rows(model, agate_table) -%}\n {{ adapter.dispatch('load_csv_rows', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__load_csv_rows"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0425823, "supported_languages": null}, "macro.dbt.default__load_csv_rows": {"name": "default__load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__load_csv_rows", "macro_sql": "{% macro default__load_csv_rows(model, agate_table) %}\n\n {% set batch_size = get_batch_size() %}\n\n {% set cols_sql = get_seed_column_quoted_csv(model, agate_table.column_names) %}\n {% set bindings = [] %}\n\n {% set statements = [] %}\n\n {% for chunk in agate_table.rows | batch(batch_size) %}\n {% set bindings = [] %}\n\n {% for row in chunk %}\n {% do bindings.extend(row) %}\n {% endfor %}\n\n {% set sql %}\n insert into {{ this.render() }} ({{ cols_sql }}) values\n {% for row in chunk -%}\n ({%- for column in agate_table.column_names -%}\n {{ get_binding_char() }}\n {%- if not loop.last%},{%- endif %}\n {%- endfor -%})\n {%- if not loop.last%},{%- endif %}\n {%- endfor %}\n {% endset %}\n\n {% do adapter.add_query(sql, bindings=bindings, abridge_sql_log=True) %}\n\n {% if loop.index0 == 0 %}\n {% do statements.append(sql) %}\n {% endif %}\n {% endfor %}\n\n {# Return SQL so we can render it out into the compiled files #}\n {{ return(statements[0]) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_batch_size", "macro.dbt.get_seed_column_quoted_csv", "macro.dbt.get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0449982, "supported_languages": null}, "macro.dbt.snapshot_merge_sql": {"name": "snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.snapshot_merge_sql", "macro_sql": "{% macro snapshot_merge_sql(target, source, insert_cols) -%}\n {{ adapter.dispatch('snapshot_merge_sql', 'dbt')(target, source, insert_cols) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0457895, "supported_languages": null}, "macro.dbt.default__snapshot_merge_sql": {"name": "default__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.default__snapshot_merge_sql", "macro_sql": "{% macro default__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on DBT_INTERNAL_SOURCE.dbt_scd_id = DBT_INTERNAL_DEST.dbt_scd_id\n\n when matched\n and DBT_INTERNAL_DEST.dbt_valid_to is null\n and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')\n then update\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n\n when not matched\n and DBT_INTERNAL_SOURCE.dbt_change_type = 'insert'\n then insert ({{ insert_cols_csv }})\n values ({{ insert_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0463152, "supported_languages": null}, "macro.dbt.strategy_dispatch": {"name": "strategy_dispatch", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.strategy_dispatch", "macro_sql": "{% macro strategy_dispatch(name) -%}\n{% set original_name = name %}\n {% if '.' in name %}\n {% set package_name, name = name.split(\".\", 1) %}\n {% else %}\n {% set package_name = none %}\n {% endif %}\n\n {% if package_name is none %}\n {% set package_context = context %}\n {% elif package_name in context %}\n {% set package_context = context[package_name] %}\n {% else %}\n {% set error_msg %}\n Could not find package '{{package_name}}', called with '{{original_name}}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n\n {%- set search_name = 'snapshot_' ~ name ~ '_strategy' -%}\n\n {% if search_name not in package_context %}\n {% set error_msg %}\n The specified strategy macro '{{name}}' was not found in package '{{ package_name }}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n {{ return(package_context[search_name]) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.051773, "supported_languages": null}, "macro.dbt.snapshot_hash_arguments": {"name": "snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_hash_arguments", "macro_sql": "{% macro snapshot_hash_arguments(args) -%}\n {{ adapter.dispatch('snapshot_hash_arguments', 'dbt')(args) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0521023, "supported_languages": null}, "macro.dbt.default__snapshot_hash_arguments": {"name": "default__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_hash_arguments", "macro_sql": "{% macro default__snapshot_hash_arguments(args) -%}\n md5({%- for arg in args -%}\n coalesce(cast({{ arg }} as varchar ), '')\n {% if not loop.last %} || '|' || {% endif %}\n {%- endfor -%})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.052541, "supported_languages": null}, "macro.dbt.snapshot_timestamp_strategy": {"name": "snapshot_timestamp_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_timestamp_strategy", "macro_sql": "{% macro snapshot_timestamp_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set primary_key = config['unique_key'] %}\n {% set updated_at = config['updated_at'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n\n {#/*\n The snapshot relation might not have an {{ updated_at }} value if the\n snapshot strategy is changed from `check` to `timestamp`. We\n should use a dbt-created column for the comparison in the snapshot\n table instead of assuming that the user-supplied {{ updated_at }}\n will be present in the historical data.\n\n See https://github.com/dbt-labs/dbt-core/issues/2350\n */ #}\n {% set row_changed_expr -%}\n ({{ snapshotted_rel }}.dbt_valid_from < {{ current_rel }}.{{ updated_at }})\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0539315, "supported_languages": null}, "macro.dbt.snapshot_string_as_time": {"name": "snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_string_as_time", "macro_sql": "{% macro snapshot_string_as_time(timestamp) -%}\n {{ adapter.dispatch('snapshot_string_as_time', 'dbt')(timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_postgres.postgres__snapshot_string_as_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0542533, "supported_languages": null}, "macro.dbt.default__snapshot_string_as_time": {"name": "default__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_string_as_time", "macro_sql": "{% macro default__snapshot_string_as_time(timestamp) %}\n {% do exceptions.raise_not_implemented(\n 'snapshot_string_as_time macro not implemented for adapter '+adapter.type()\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0545828, "supported_languages": null}, "macro.dbt.snapshot_check_all_get_existing_columns": {"name": "snapshot_check_all_get_existing_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_all_get_existing_columns", "macro_sql": "{% macro snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) -%}\n {%- if not target_exists -%}\n {#-- no table yet -> return whatever the query does --#}\n {{ return((false, query_columns)) }}\n {%- endif -%}\n\n {#-- handle any schema changes --#}\n {%- set target_relation = adapter.get_relation(database=node.database, schema=node.schema, identifier=node.alias) -%}\n\n {% if check_cols_config == 'all' %}\n {%- set query_columns = get_columns_in_query(node['compiled_code']) -%}\n\n {% elif check_cols_config is iterable and (check_cols_config | length) > 0 %}\n {#-- query for proper casing/quoting, to support comparison below --#}\n {%- set select_check_cols_from_target -%}\n {#-- N.B. The whitespace below is necessary to avoid edge case issue with comments --#}\n {#-- See: https://github.com/dbt-labs/dbt-core/issues/6781 --#}\n select {{ check_cols_config | join(', ') }} from (\n {{ node['compiled_code'] }}\n ) subq\n {%- endset -%}\n {% set query_columns = get_columns_in_query(select_check_cols_from_target) %}\n\n {% else %}\n {% do exceptions.raise_compiler_error(\"Invalid value for 'check_cols': \" ~ check_cols_config) %}\n {% endif %}\n\n {%- set existing_cols = adapter.get_columns_in_relation(target_relation) | map(attribute = 'name') | list -%}\n {%- set ns = namespace() -%} {#-- handle for-loop scoping with a namespace --#}\n {%- set ns.column_added = false -%}\n\n {%- set intersection = [] -%}\n {%- for col in query_columns -%}\n {%- if col in existing_cols -%}\n {%- do intersection.append(adapter.quote(col)) -%}\n {%- else -%}\n {% set ns.column_added = true %}\n {%- endif -%}\n {%- endfor -%}\n {{ return((ns.column_added, intersection)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0572174, "supported_languages": null}, "macro.dbt.snapshot_check_strategy": {"name": "snapshot_check_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_strategy", "macro_sql": "{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set check_cols_config = config['check_cols'] %}\n {% set primary_key = config['unique_key'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n {% set updated_at = config.get('updated_at', snapshot_get_time()) %}\n\n {% set column_added = false %}\n\n {% set column_added, check_cols = snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) %}\n\n {%- set row_changed_expr -%}\n (\n {%- if column_added -%}\n {{ get_true_sql() }}\n {%- else -%}\n {%- for col in check_cols -%}\n {{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}\n or\n (\n (({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null))\n or\n ((not {{ snapshotted_rel }}.{{ col }} is null) and ({{ current_rel }}.{{ col }} is null))\n )\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n {%- endif -%}\n )\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time", "macro.dbt.snapshot_check_all_get_existing_columns", "macro.dbt.get_true_sql", "macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0598078, "supported_languages": null}, "macro.dbt.create_columns": {"name": "create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.create_columns", "macro_sql": "{% macro create_columns(relation, columns) %}\n {{ adapter.dispatch('create_columns', 'dbt')(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0647824, "supported_languages": null}, "macro.dbt.default__create_columns": {"name": "default__create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__create_columns", "macro_sql": "{% macro default__create_columns(relation, columns) %}\n {% for column in columns %}\n {% call statement() %}\n alter table {{ relation }} add column \"{{ column.name }}\" {{ column.data_type }};\n {% endcall %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0653803, "supported_languages": null}, "macro.dbt.post_snapshot": {"name": "post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.post_snapshot", "macro_sql": "{% macro post_snapshot(staging_relation) %}\n {{ adapter.dispatch('post_snapshot', 'dbt')(staging_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.065725, "supported_languages": null}, "macro.dbt.default__post_snapshot": {"name": "default__post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__post_snapshot", "macro_sql": "{% macro default__post_snapshot(staging_relation) %}\n {# no-op #}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0659094, "supported_languages": null}, "macro.dbt.get_true_sql": {"name": "get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.get_true_sql", "macro_sql": "{% macro get_true_sql() %}\n {{ adapter.dispatch('get_true_sql', 'dbt')() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_true_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.066197, "supported_languages": null}, "macro.dbt.default__get_true_sql": {"name": "default__get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__get_true_sql", "macro_sql": "{% macro default__get_true_sql() %}\n {{ return('TRUE') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0664275, "supported_languages": null}, "macro.dbt.snapshot_staging_table": {"name": "snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.snapshot_staging_table", "macro_sql": "{% macro snapshot_staging_table(strategy, source_sql, target_relation) -%}\n {{ adapter.dispatch('snapshot_staging_table', 'dbt')(strategy, source_sql, target_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_staging_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.06683, "supported_languages": null}, "macro.dbt.default__snapshot_staging_table": {"name": "default__snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__snapshot_staging_table", "macro_sql": "{% macro default__snapshot_staging_table(strategy, source_sql, target_relation) -%}\n\n with snapshot_query as (\n\n {{ source_sql }}\n\n ),\n\n snapshotted_data as (\n\n select *,\n {{ strategy.unique_key }} as dbt_unique_key\n\n from {{ target_relation }}\n where dbt_valid_to is null\n\n ),\n\n insertions_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to,\n {{ strategy.scd_id }} as dbt_scd_id\n\n from snapshot_query\n ),\n\n updates_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n {{ strategy.updated_at }} as dbt_valid_to\n\n from snapshot_query\n ),\n\n {%- if strategy.invalidate_hard_deletes %}\n\n deletes_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key\n from snapshot_query\n ),\n {% endif %}\n\n insertions as (\n\n select\n 'insert' as dbt_change_type,\n source_data.*\n\n from insertions_source_data as source_data\n left outer join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where snapshotted_data.dbt_unique_key is null\n or (\n snapshotted_data.dbt_unique_key is not null\n and (\n {{ strategy.row_changed }}\n )\n )\n\n ),\n\n updates as (\n\n select\n 'update' as dbt_change_type,\n source_data.*,\n snapshotted_data.dbt_scd_id\n\n from updates_source_data as source_data\n join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where (\n {{ strategy.row_changed }}\n )\n )\n\n {%- if strategy.invalidate_hard_deletes -%}\n ,\n\n deletes as (\n\n select\n 'delete' as dbt_change_type,\n source_data.*,\n {{ snapshot_get_time() }} as dbt_valid_from,\n {{ snapshot_get_time() }} as dbt_updated_at,\n {{ snapshot_get_time() }} as dbt_valid_to,\n snapshotted_data.dbt_scd_id\n\n from snapshotted_data\n left join deletes_source_data as source_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where source_data.dbt_unique_key is null\n )\n {%- endif %}\n\n select * from insertions\n union all\n select * from updates\n {%- if strategy.invalidate_hard_deletes %}\n union all\n select * from deletes\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.068486, "supported_languages": null}, "macro.dbt.build_snapshot_table": {"name": "build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_table", "macro_sql": "{% macro build_snapshot_table(strategy, sql) -%}\n {{ adapter.dispatch('build_snapshot_table', 'dbt')(strategy, sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__build_snapshot_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.068851, "supported_languages": null}, "macro.dbt.default__build_snapshot_table": {"name": "default__build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__build_snapshot_table", "macro_sql": "{% macro default__build_snapshot_table(strategy, sql) %}\n\n select *,\n {{ strategy.scd_id }} as dbt_scd_id,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to\n from (\n {{ sql }}\n ) sbq\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0693634, "supported_languages": null}, "macro.dbt.build_snapshot_staging_table": {"name": "build_snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_staging_table", "macro_sql": "{% macro build_snapshot_staging_table(strategy, sql, target_relation) %}\n {% set temp_relation = make_temp_relation(target_relation) %}\n\n {% set select = snapshot_staging_table(strategy, sql, target_relation) %}\n\n {% call statement('build_snapshot_staging_relation') %}\n {{ create_table_as(True, temp_relation, select) }}\n {% endcall %}\n\n {% do return(temp_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_temp_relation", "macro.dbt.snapshot_staging_table", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0701797, "supported_languages": null}, "macro.dbt.materialization_snapshot_default": {"name": "materialization_snapshot_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot.sql", "original_file_path": "macros/materializations/snapshots/snapshot.sql", "unique_id": "macro.dbt.materialization_snapshot_default", "macro_sql": "{% materialization snapshot, default %}\n {%- set config = model['config'] -%}\n\n {%- set target_table = model.get('alias', model.get('name')) -%}\n\n {%- set strategy_name = config.get('strategy') -%}\n {%- set unique_key = config.get('unique_key') %}\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {% set target_relation_exists, target_relation = get_or_create_relation(\n database=model.database,\n schema=model.schema,\n identifier=target_table,\n type='table') -%}\n\n {%- if not target_relation.is_table -%}\n {% do exceptions.relation_wrong_type(target_relation, 'table') %}\n {%- endif -%}\n\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set strategy_macro = strategy_dispatch(strategy_name) %}\n {% set strategy = strategy_macro(model, \"snapshotted_data\", \"source_data\", config, target_relation_exists) %}\n\n {% if not target_relation_exists %}\n\n {% set build_sql = build_snapshot_table(strategy, model['compiled_code']) %}\n {% set final_sql = create_table_as(False, target_relation, build_sql) %}\n\n {% else %}\n\n {{ adapter.valid_snapshot_target(target_relation) }}\n\n {% set staging_table = build_snapshot_staging_table(strategy, sql, target_relation) %}\n\n -- this may no-op if the database does not require column expansion\n {% do adapter.expand_target_column_types(from_relation=staging_table,\n to_relation=target_relation) %}\n\n {% set missing_columns = adapter.get_missing_columns(staging_table, target_relation)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% do create_columns(target_relation, missing_columns) %}\n\n {% set source_columns = adapter.get_columns_in_relation(staging_table)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% set quoted_source_columns = [] %}\n {% for column in source_columns %}\n {% do quoted_source_columns.append(adapter.quote(column.name)) %}\n {% endfor %}\n\n {% set final_sql = snapshot_merge_sql(\n target = target_relation,\n source = staging_table,\n insert_cols = quoted_source_columns\n )\n %}\n\n {% endif %}\n\n {% call statement('main') %}\n {{ final_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(target_relation_exists, full_refresh_mode=False) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if not target_relation_exists %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {% if staging_table is defined %}\n {% do post_snapshot(staging_table) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.get_or_create_relation", "macro.dbt.run_hooks", "macro.dbt.strategy_dispatch", "macro.dbt.build_snapshot_table", "macro.dbt.create_table_as", "macro.dbt.build_snapshot_staging_table", "macro.dbt.create_columns", "macro.dbt.snapshot_merge_sql", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes", "macro.dbt.post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0803401, "supported_languages": ["sql"]}, "macro.dbt.materialization_test_default": {"name": "materialization_test_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/test.sql", "original_file_path": "macros/materializations/tests/test.sql", "unique_id": "macro.dbt.materialization_test_default", "macro_sql": "{%- materialization test, default -%}\n\n {% set relations = [] %}\n\n {% if should_store_failures() %}\n\n {% set identifier = model['alias'] %}\n {% set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% set store_failures_as = config.get('store_failures_as') %}\n -- if `--store-failures` is invoked via command line and `store_failures_as` is not set,\n -- config.get('store_failures_as', 'table') returns None, not 'table'\n {% if store_failures_as == none %}{% set store_failures_as = 'table' %}{% endif %}\n {% if store_failures_as not in ['table', 'view'] %}\n {{ exceptions.raise_compiler_error(\n \"'\" ~ store_failures_as ~ \"' is not a valid value for `store_failures_as`. \"\n \"Accepted values are: ['ephemeral', 'table', 'view']\"\n ) }}\n {% endif %}\n\n {% set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database, type=store_failures_as) -%} %}\n\n {% if old_relation %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n {% call statement(auto_begin=True) %}\n {{ get_create_sql(target_relation, sql) }}\n {% endcall %}\n\n {% do relations.append(target_relation) %}\n\n {% set main_sql %}\n select *\n from {{ target_relation }}\n {% endset %}\n\n {{ adapter.commit() }}\n\n {% else %}\n\n {% set main_sql = sql %}\n\n {% endif %}\n\n {% set limit = config.get('limit') %}\n {% set fail_calc = config.get('fail_calc') %}\n {% set warn_if = config.get('warn_if') %}\n {% set error_if = config.get('error_if') %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ get_test_sql(main_sql, fail_calc, warn_if, error_if, limit)}}\n\n {%- endcall %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.should_store_failures", "macro.dbt.statement", "macro.dbt.get_create_sql", "macro.dbt.get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.085058, "supported_languages": ["sql"]}, "macro.dbt.get_where_subquery": {"name": "get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.get_where_subquery", "macro_sql": "{% macro get_where_subquery(relation) -%}\n {% do return(adapter.dispatch('get_where_subquery', 'dbt')(relation)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_where_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.085758, "supported_languages": null}, "macro.dbt.default__get_where_subquery": {"name": "default__get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.default__get_where_subquery", "macro_sql": "{% macro default__get_where_subquery(relation) -%}\n {% set where = config.get('where', '') %}\n {% if where %}\n {%- set filtered -%}\n (select * from {{ relation }} where {{ where }}) dbt_subquery\n {%- endset -%}\n {% do return(filtered) %}\n {%- else -%}\n {% do return(relation) %}\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0864902, "supported_languages": null}, "macro.dbt.materialization_unit_default": {"name": "materialization_unit_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/unit.sql", "original_file_path": "macros/materializations/tests/unit.sql", "unique_id": "macro.dbt.materialization_unit_default", "macro_sql": "{%- materialization unit, default -%}\n\n {% set relations = [] %}\n\n {% set expected_rows = config.get('expected_rows') %}\n {% set expected_sql = config.get('expected_sql') %}\n {% set tested_expected_column_names = expected_rows[0].keys() if (expected_rows | length ) > 0 else get_columns_in_query(sql) %} %}\n\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {% do run_query(get_create_table_as_sql(True, temp_relation, get_empty_subquery_sql(sql))) %}\n {%- set columns_in_relation = adapter.get_columns_in_relation(temp_relation) -%}\n {%- set column_name_to_data_types = {} -%}\n {%- for column in columns_in_relation -%}\n {%- do column_name_to_data_types.update({column.name|lower: column.data_type}) -%}\n {%- endfor -%}\n\n {% if not expected_sql %}\n {% set expected_sql = get_expected_sql(expected_rows, column_name_to_data_types) %}\n {% endif %}\n {% set unit_test_sql = get_unit_test_sql(sql, expected_sql, tested_expected_column_names) %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ unit_test_sql }}\n\n {%- endcall %}\n\n {% do adapter.drop_relation(temp_relation) %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query", "macro.dbt.make_temp_relation", "macro.dbt.run_query", "macro.dbt.get_create_table_as_sql", "macro.dbt.get_empty_subquery_sql", "macro.dbt.get_expected_sql", "macro.dbt.get_unit_test_sql", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0896575, "supported_languages": ["sql"]}, "macro.dbt.get_test_sql": {"name": "get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_test_sql", "macro_sql": "{% macro get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n {{ adapter.dispatch('get_test_sql', 'dbt')(main_sql, fail_calc, warn_if, error_if, limit) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0913959, "supported_languages": null}, "macro.dbt.default__get_test_sql": {"name": "default__get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_test_sql", "macro_sql": "{% macro default__get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n select\n {{ fail_calc }} as failures,\n {{ fail_calc }} {{ warn_if }} as should_warn,\n {{ fail_calc }} {{ error_if }} as should_error\n from (\n {{ main_sql }}\n {{ \"limit \" ~ limit if limit != none }}\n ) dbt_internal_test\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0919783, "supported_languages": null}, "macro.dbt.get_unit_test_sql": {"name": "get_unit_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_unit_test_sql", "macro_sql": "{% macro get_unit_test_sql(main_sql, expected_fixture_sql, expected_column_names) -%}\n {{ adapter.dispatch('get_unit_test_sql', 'dbt')(main_sql, expected_fixture_sql, expected_column_names) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_unit_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.092374, "supported_languages": null}, "macro.dbt.default__get_unit_test_sql": {"name": "default__get_unit_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_unit_test_sql", "macro_sql": "{% macro default__get_unit_test_sql(main_sql, expected_fixture_sql, expected_column_names) -%}\n-- Build actual result given inputs\nwith dbt_internal_unit_test_actual as (\n select\n {% for expected_column_name in expected_column_names %}{{expected_column_name}}{% if not loop.last -%},{% endif %}{%- endfor -%}, {{ dbt.string_literal(\"actual\") }} as {{ adapter.quote(\"actual_or_expected\") }}\n from (\n {{ main_sql }}\n ) _dbt_internal_unit_test_actual\n),\n-- Build expected result\ndbt_internal_unit_test_expected as (\n select\n {% for expected_column_name in expected_column_names %}{{expected_column_name}}{% if not loop.last -%}, {% endif %}{%- endfor -%}, {{ dbt.string_literal(\"expected\") }} as {{ adapter.quote(\"actual_or_expected\") }}\n from (\n {{ expected_fixture_sql }}\n ) _dbt_internal_unit_test_expected\n)\n-- Union actual and expected results\nselect * from dbt_internal_unit_test_actual\nunion all\nselect * from dbt_internal_unit_test_expected\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.093547, "supported_languages": null}, "macro.dbt.test_unique": {"name": "test_unique", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_unique", "macro_sql": "{% test unique(model, column_name) %}\n {% set macro = adapter.dispatch('test_unique', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0944405, "supported_languages": null}, "macro.dbt.test_not_null": {"name": "test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_not_null", "macro_sql": "{% test not_null(model, column_name) %}\n {% set macro = adapter.dispatch('test_not_null', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.094913, "supported_languages": null}, "macro.dbt.test_accepted_values": {"name": "test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_accepted_values", "macro_sql": "{% test accepted_values(model, column_name, values, quote=True) %}\n {% set macro = adapter.dispatch('test_accepted_values', 'dbt') %}\n {{ macro(model, column_name, values, quote) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.095578, "supported_languages": null}, "macro.dbt.test_relationships": {"name": "test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_relationships", "macro_sql": "{% test relationships(model, column_name, to, field) %}\n {% set macro = adapter.dispatch('test_relationships', 'dbt') %}\n {{ macro(model, column_name, to, field) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_relationships"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0962844, "supported_languages": null}, "macro.dbt_utils.pretty_log_format": {"name": "pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.pretty_log_format", "macro_sql": "{% macro pretty_log_format(message) %}\n {{ return(adapter.dispatch('pretty_log_format', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0967784, "supported_languages": null}, "macro.dbt_utils.default__pretty_log_format": {"name": "default__pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.default__pretty_log_format", "macro_sql": "{% macro default__pretty_log_format(message) %}\n {{ return( dbt_utils.pretty_time() ~ ' + ' ~ message) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.09712, "supported_languages": null}, "macro.dbt_utils._is_ephemeral": {"name": "_is_ephemeral", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_ephemeral.sql", "original_file_path": "macros/jinja_helpers/_is_ephemeral.sql", "unique_id": "macro.dbt_utils._is_ephemeral", "macro_sql": "{% macro _is_ephemeral(obj, macro) %}\n {%- if obj.is_cte -%}\n {% set ephemeral_prefix = api.Relation.add_ephemeral_prefix('') %}\n {% if obj.name.startswith(ephemeral_prefix) %}\n {% set model_name = obj.name[(ephemeral_prefix|length):] %}\n {% else %}\n {% set model_name = obj.name %}\n {%- endif -%}\n {% set error_message %}\nThe `{{ macro }}` macro cannot be used with ephemeral models, as it relies on the information schema.\n\n`{{ model_name }}` is an ephemeral model. Consider making it a view or table instead.\n {% endset %}\n {%- do exceptions.raise_compiler_error(error_message) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0986438, "supported_languages": null}, "macro.dbt_utils.pretty_time": {"name": "pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.pretty_time", "macro_sql": "{% macro pretty_time(format='%H:%M:%S') %}\n {{ return(adapter.dispatch('pretty_time', 'dbt_utils')(format)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.099164, "supported_languages": null}, "macro.dbt_utils.default__pretty_time": {"name": "default__pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.default__pretty_time", "macro_sql": "{% macro default__pretty_time(format='%H:%M:%S') %}\n {{ return(modules.datetime.datetime.now().strftime(format)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.0995424, "supported_languages": null}, "macro.dbt_utils.log_info": {"name": "log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.log_info", "macro_sql": "{% macro log_info(message) %}\n {{ return(adapter.dispatch('log_info', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__log_info"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1000128, "supported_languages": null}, "macro.dbt_utils.default__log_info": {"name": "default__log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.default__log_info", "macro_sql": "{% macro default__log_info(message) %}\n {{ log(dbt_utils.pretty_log_format(message), info=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.100464, "supported_languages": null}, "macro.dbt_utils._is_relation": {"name": "_is_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_relation.sql", "original_file_path": "macros/jinja_helpers/_is_relation.sql", "unique_id": "macro.dbt_utils._is_relation", "macro_sql": "{% macro _is_relation(obj, macro) %}\n {%- if not (obj is mapping and obj.get('metadata', {}).get('type', '').endswith('Relation')) -%}\n {%- do exceptions.raise_compiler_error(\"Macro \" ~ macro ~ \" expected a Relation but received the value: \" ~ obj) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1013277, "supported_languages": null}, "macro.dbt_utils.slugify": {"name": "slugify", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/slugify.sql", "original_file_path": "macros/jinja_helpers/slugify.sql", "unique_id": "macro.dbt_utils.slugify", "macro_sql": "{% macro slugify(string) %}\n\n{#- Lower case the string -#}\n{% set string = string | lower %}\n{#- Replace spaces and dashes with underscores -#}\n{% set string = modules.re.sub('[ -]+', '_', string) %}\n{#- Only take letters, numbers, and underscores -#}\n{% set string = modules.re.sub('[^a-z0-9_]+', '', string) %}\n{#- Prepends \"_\" if string begins with a number -#}\n{% set string = modules.re.sub('^[0-9]', '_' + string[0], string) %}\n\n{{ return(string) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1024873, "supported_languages": null}, "macro.dbt_utils.get_url_path": {"name": "get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.get_url_path", "macro_sql": "{% macro get_url_path(field) -%}\n {{ return(adapter.dispatch('get_url_path', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_path"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1032562, "supported_languages": null}, "macro.dbt_utils.default__get_url_path": {"name": "default__get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.default__get_url_path", "macro_sql": "{% macro default__get_url_path(field) -%}\n\n {%- set stripped_url =\n dbt.replace(\n dbt.replace(field, \"'http://'\", \"''\"), \"'https://'\", \"''\")\n -%}\n\n {%- set first_slash_pos -%}\n coalesce(\n nullif({{ dbt.position(\"'/'\", stripped_url) }}, 0),\n {{ dbt.position(\"'?'\", stripped_url) }} - 1\n )\n {%- endset -%}\n\n {%- set parsed_path =\n dbt.split_part(\n dbt.right(\n stripped_url,\n dbt.length(stripped_url) ~ \"-\" ~ first_slash_pos\n ),\n \"'?'\", 1\n )\n -%}\n\n {{ dbt.safe_cast(\n parsed_path,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.position", "macro.dbt.split_part", "macro.dbt.right", "macro.dbt.length", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1044943, "supported_languages": null}, "macro.dbt_utils.get_url_parameter": {"name": "get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.get_url_parameter", "macro_sql": "{% macro get_url_parameter(field, url_parameter) -%}\n {{ return(adapter.dispatch('get_url_parameter', 'dbt_utils')(field, url_parameter)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_parameter"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.105082, "supported_languages": null}, "macro.dbt_utils.default__get_url_parameter": {"name": "default__get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.default__get_url_parameter", "macro_sql": "{% macro default__get_url_parameter(field, url_parameter) -%}\n\n{%- set formatted_url_parameter = \"'\" + url_parameter + \"='\" -%}\n\n{%- set split = dbt.split_part(dbt.split_part(field, formatted_url_parameter, 2), \"'&'\", 1) -%}\n\nnullif({{ split }},'')\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1056967, "supported_languages": null}, "macro.dbt_utils.get_url_host": {"name": "get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.get_url_host", "macro_sql": "{% macro get_url_host(field) -%}\n {{ return(adapter.dispatch('get_url_host', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_host"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1062782, "supported_languages": null}, "macro.dbt_utils.default__get_url_host": {"name": "default__get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.default__get_url_host", "macro_sql": "{% macro default__get_url_host(field) -%}\n\n{%- set parsed =\n dbt.split_part(\n dbt.split_part(\n dbt.replace(\n dbt.replace(\n dbt.replace(field, \"'android-app://'\", \"''\"\n ), \"'http://'\", \"''\"\n ), \"'https://'\", \"''\"\n ), \"'/'\", 1\n ), \"'?'\", 1\n )\n\n-%}\n\n\n {{ dbt.safe_cast(\n parsed,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt.replace", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1071575, "supported_languages": null}, "macro.dbt_utils.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_utils')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1082616, "supported_languages": null}, "macro.dbt_utils.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1094258, "supported_languages": null}, "macro.dbt_utils.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_utils')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.109873, "supported_languages": null}, "macro.dbt_utils.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{dbt_utils.generate_series(\n dbt_utils.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series", "macro.dbt_utils.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1105614, "supported_languages": null}, "macro.dbt_utils.get_tables_by_pattern_sql": {"name": "get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_pattern_sql", "macro_sql": "{% macro get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_pattern_sql', 'dbt_utils')\n (schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1129568, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_pattern_sql": {"name": "default__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_pattern_sql", "macro_sql": "{% macro default__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n select distinct\n table_schema as {{ adapter.quote('table_schema') }},\n table_name as {{ adapter.quote('table_name') }},\n {{ dbt_utils.get_table_types_sql() }}\n from {{ database }}.information_schema.tables\n where table_schema ilike '{{ schema_pattern }}'\n and table_name ilike '{{ table_pattern }}'\n and table_name not ilike '{{ exclude }}'\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1136768, "supported_languages": null}, "macro.dbt_utils.bigquery__get_tables_by_pattern_sql": {"name": "bigquery__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.bigquery__get_tables_by_pattern_sql", "macro_sql": "{% macro bigquery__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {% if '%' in schema_pattern %}\n {% set schemata=dbt_utils._bigquery__get_matching_schemata(schema_pattern, database) %}\n {% else %}\n {% set schemata=[schema_pattern] %}\n {% endif %}\n\n {% set sql %}\n {% for schema in schemata %}\n select distinct\n table_schema,\n table_name,\n {{ dbt_utils.get_table_types_sql() }}\n\n from {{ adapter.quote(database) }}.{{ schema }}.INFORMATION_SCHEMA.TABLES\n where lower(table_name) like lower ('{{ table_pattern }}')\n and lower(table_name) not like lower ('{{ exclude }}')\n\n {% if not loop.last %} union all {% endif %}\n\n {% endfor %}\n {% endset %}\n\n {{ return(sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._bigquery__get_matching_schemata", "macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1152148, "supported_languages": null}, "macro.dbt_utils._bigquery__get_matching_schemata": {"name": "_bigquery__get_matching_schemata", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils._bigquery__get_matching_schemata", "macro_sql": "{% macro _bigquery__get_matching_schemata(schema_pattern, database) %}\n {% if execute %}\n\n {% set sql %}\n select schema_name from {{ adapter.quote(database) }}.INFORMATION_SCHEMA.SCHEMATA\n where lower(schema_name) like lower('{{ schema_pattern }}')\n {% endset %}\n\n {% set results=run_query(sql) %}\n\n {% set schemata=results.columns['schema_name'].values() %}\n\n {{ return(schemata) }}\n\n {% else %}\n\n {{ return([]) }}\n\n {% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1161923, "supported_languages": null}, "macro.dbt_utils.unpivot": {"name": "unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.unpivot", "macro_sql": "{% macro unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n {{ return(adapter.dispatch('unpivot', 'dbt_utils')(relation, cast_to, exclude, remove, field_name, value_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__unpivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1183531, "supported_languages": null}, "macro.dbt_utils.default__unpivot": {"name": "default__unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.default__unpivot", "macro_sql": "{% macro default__unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n\n {% if not relation %}\n {{ exceptions.raise_compiler_error(\"Error: argument `relation` is required for `unpivot` macro.\") }}\n {% endif %}\n\n {%- set exclude = exclude if exclude is not none else [] %}\n {%- set remove = remove if remove is not none else [] %}\n\n {%- set include_cols = [] %}\n\n {%- set table_columns = {} %}\n\n {%- do table_columns.update({relation: []}) %}\n\n {%- do dbt_utils._is_relation(relation, 'unpivot') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'unpivot') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) %}\n\n {%- for col in cols -%}\n {%- if col.column.lower() not in remove|map('lower') and col.column.lower() not in exclude|map('lower') -%}\n {% do include_cols.append(col) %}\n {%- endif %}\n {%- endfor %}\n\n\n {%- for col in include_cols -%}\n select\n {%- for exclude_col in exclude %}\n {{ exclude_col }},\n {%- endfor %}\n\n cast('{{ col.column }}' as {{ dbt.type_string() }}) as {{ field_name }},\n cast( {% if col.data_type == 'boolean' %}\n {{ dbt.cast_bool_to_text(col.column) }}\n {% else %}\n {{ col.column }}\n {% endif %}\n as {{ cast_to }}) as {{ value_name }}\n\n from {{ relation }}\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n {%- endfor -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.type_string", "macro.dbt.cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.121494, "supported_languages": null}, "macro.dbt_utils.get_single_value": {"name": "get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.get_single_value", "macro_sql": "{% macro get_single_value(query, default=none) %}\n {{ return(adapter.dispatch('get_single_value', 'dbt_utils')(query, default)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_single_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1223702, "supported_languages": null}, "macro.dbt_utils.default__get_single_value": {"name": "default__get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.default__get_single_value", "macro_sql": "{% macro default__get_single_value(query, default) %}\n\n{# This macro returns the (0, 0) record in a query, i.e. the first row of the first column #}\n\n {%- call statement('get_query_result', fetch_result=True, auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {%- if execute -%}\n\n {% set r = load_result('get_query_result').table.columns[0].values() %}\n {% if r | length == 0 %}\n {% do print('Query `' ~ query ~ '` returned no rows. Using the default value: ' ~ default) %}\n {% set sql_result = default %}\n {% else %}\n {% set sql_result = r[0] %}\n {% endif %}\n \n {%- else -%}\n \n {% set sql_result = default %}\n \n {%- endif -%}\n\n {% do return(sql_result) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1237776, "supported_languages": null}, "macro.dbt_utils.nullcheck_table": {"name": "nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.nullcheck_table", "macro_sql": "{% macro nullcheck_table(relation) %}\n {{ return(adapter.dispatch('nullcheck_table', 'dbt_utils')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1243553, "supported_languages": null}, "macro.dbt_utils.default__nullcheck_table": {"name": "default__nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.default__nullcheck_table", "macro_sql": "{% macro default__nullcheck_table(relation) %}\n\n {%- do dbt_utils._is_relation(relation, 'nullcheck_table') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'nullcheck_table') -%}\n {% set cols = adapter.get_columns_in_relation(relation) %}\n\n select {{ dbt_utils.nullcheck(cols) }}\n from {{relation}}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1250174, "supported_languages": null}, "macro.dbt_utils.surrogate_key": {"name": "surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.surrogate_key", "macro_sql": "{%- macro surrogate_key(field_list) -%}\n {% set frustrating_jinja_feature = varargs %}\n {{ return(adapter.dispatch('surrogate_key', 'dbt_utils')(field_list, *varargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.125738, "supported_languages": null}, "macro.dbt_utils.default__surrogate_key": {"name": "default__surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.default__surrogate_key", "macro_sql": "\n\n{%- macro default__surrogate_key(field_list) -%}\n\n{%- set error_message = '\nWarning: `dbt_utils.surrogate_key` has been replaced by \\\n`dbt_utils.generate_surrogate_key`. The new macro treats null values \\\ndifferently to empty strings. To restore the behaviour of the original \\\nmacro, add a global variable in dbt_project.yml called \\\n`surrogate_key_treat_nulls_as_empty_strings` to your \\\ndbt_project.yml file with a value of True. \\\nThe {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1261954, "supported_languages": null}, "macro.dbt_utils.degrees_to_radians": {"name": "degrees_to_radians", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.degrees_to_radians", "macro_sql": "{% macro degrees_to_radians(degrees) -%}\n acos(-1) * {{degrees}} / 180\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1277719, "supported_languages": null}, "macro.dbt_utils.haversine_distance": {"name": "haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.haversine_distance", "macro_sql": "{% macro haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n {{ return(adapter.dispatch('haversine_distance', 'dbt_utils')(lat1,lon1,lat2,lon2,unit)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__haversine_distance"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1283047, "supported_languages": null}, "macro.dbt_utils.default__haversine_distance": {"name": "default__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.default__haversine_distance", "macro_sql": "{% macro default__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n\n 2 * 3961 * asin(sqrt(power((sin(radians(({{ lat2 }} - {{ lat1 }}) / 2))), 2) +\n cos(radians({{lat1}})) * cos(radians({{lat2}})) *\n power((sin(radians(({{ lon2 }} - {{ lon1 }}) / 2))), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1294143, "supported_languages": null}, "macro.dbt_utils.bigquery__haversine_distance": {"name": "bigquery__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.bigquery__haversine_distance", "macro_sql": "{% macro bigquery__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{% set radians_lat1 = dbt_utils.degrees_to_radians(lat1) %}\n{% set radians_lat2 = dbt_utils.degrees_to_radians(lat2) %}\n{% set radians_lon1 = dbt_utils.degrees_to_radians(lon1) %}\n{% set radians_lon2 = dbt_utils.degrees_to_radians(lon2) %}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n 2 * 3961 * asin(sqrt(power(sin(({{ radians_lat2 }} - {{ radians_lat1 }}) / 2), 2) +\n cos({{ radians_lat1 }}) * cos({{ radians_lat2 }}) *\n power(sin(({{ radians_lon2 }} - {{ radians_lon1 }}) / 2), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.degrees_to_radians"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.131105, "supported_languages": null}, "macro.dbt_utils.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1324036, "supported_languages": null}, "macro.dbt_utils.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1332126, "supported_languages": null}, "macro.dbt_utils.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1335783, "supported_languages": null}, "macro.dbt_utils.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_utils.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1345735, "supported_languages": null}, "macro.dbt_utils.get_column_values": {"name": "get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.get_column_values", "macro_sql": "{% macro get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {{ return(adapter.dispatch('get_column_values', 'dbt_utils')(table, column, order_by, max_records, default, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_column_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1364548, "supported_languages": null}, "macro.dbt_utils.default__get_column_values": {"name": "default__get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.default__get_column_values", "macro_sql": "{% macro default__get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {% set default = [] if not default %}\n {{ return(default) }}\n {% endif %}\n\n {%- do dbt_utils._is_ephemeral(table, 'get_column_values') -%}\n\n {# Not all relations are tables. Renaming for internal clarity without breaking functionality for anyone using named arguments #}\n {# TODO: Change the method signature in a future 0.x.0 release #}\n {%- set target_relation = table -%}\n\n {# adapter.load_relation is a convenience wrapper to avoid building a Relation when we already have one #}\n {% set relation_exists = (load_relation(target_relation)) is not none %}\n\n {%- call statement('get_column_values', fetch_result=true) %}\n\n {%- if not relation_exists and default is none -%}\n\n {{ exceptions.raise_compiler_error(\"In get_column_values(): relation \" ~ target_relation ~ \" does not exist and no default value was provided.\") }}\n\n {%- elif not relation_exists and default is not none -%}\n\n {{ log(\"Relation \" ~ target_relation ~ \" does not exist. Returning the default value: \" ~ default) }}\n\n {{ return(default) }}\n\n {%- else -%}\n\n\n select\n {{ column }} as value\n\n from {{ target_relation }}\n\n {% if where is not none %}\n where {{ where }}\n {% endif %}\n\n group by {{ column }}\n order by {{ order_by }}\n\n {% if max_records is not none %}\n limit {{ max_records }}\n {% endif %}\n\n {% endif %}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_column_values') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values) }}\n {%- else -%}\n {{ return(default) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_ephemeral", "macro.dbt.load_relation", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1394222, "supported_languages": null}, "macro.dbt_utils.deduplicate": {"name": "deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.deduplicate", "macro_sql": "{%- macro deduplicate(relation, partition_by, order_by) -%}\n {{ return(adapter.dispatch('deduplicate', 'dbt_utils')(relation, partition_by, order_by)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.postgres__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.140619, "supported_languages": null}, "macro.dbt_utils.default__deduplicate": {"name": "default__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.default__deduplicate", "macro_sql": "\n\n{%- macro default__deduplicate(relation, partition_by, order_by) -%}\n\n with row_numbered as (\n select\n _inner.*,\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) as rn\n from {{ relation }} as _inner\n )\n\n select\n distinct data.*\n from {{ relation }} as data\n {#\n -- Not all DBs will support natural joins but the ones that do include:\n -- Oracle, MySQL, SQLite, Redshift, Teradata, Materialize, Databricks\n -- Apache Spark, SingleStore, Vertica\n -- Those that do not appear to support natural joins include:\n -- SQLServer, Trino, Presto, Rockset, Athena\n #}\n natural join row_numbered\n where row_numbered.rn = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1410568, "supported_languages": null}, "macro.dbt_utils.redshift__deduplicate": {"name": "redshift__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.redshift__deduplicate", "macro_sql": "{% macro redshift__deduplicate(relation, partition_by, order_by) -%}\n\n {{ return(dbt_utils.default__deduplicate(relation, partition_by, order_by=order_by)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1414495, "supported_languages": null}, "macro.dbt_utils.postgres__deduplicate": {"name": "postgres__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.postgres__deduplicate", "macro_sql": "\n{%- macro postgres__deduplicate(relation, partition_by, order_by) -%}\n\n select\n distinct on ({{ partition_by }}) *\n from {{ relation }}\n order by {{ partition_by }}{{ ',' ~ order_by }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1418262, "supported_languages": null}, "macro.dbt_utils.snowflake__deduplicate": {"name": "snowflake__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.snowflake__deduplicate", "macro_sql": "\n{%- macro snowflake__deduplicate(relation, partition_by, order_by) -%}\n\n select *\n from {{ relation }}\n qualify\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1421547, "supported_languages": null}, "macro.dbt_utils.bigquery__deduplicate": {"name": "bigquery__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.bigquery__deduplicate", "macro_sql": "\n{%- macro bigquery__deduplicate(relation, partition_by, order_by) -%}\n\n select unique.*\n from (\n select\n array_agg (\n original\n order by {{ order_by }}\n limit 1\n )[offset(0)] unique\n from {{ relation }} original\n group by {{ partition_by }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1424887, "supported_languages": null}, "macro.dbt_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n {{ return(adapter.dispatch('union_relations', 'dbt_utils')(relations, column_override, include, exclude, source_column_name, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1468053, "supported_languages": null}, "macro.dbt_utils.default__union_relations": {"name": "default__union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.default__union_relations", "macro_sql": "\n\n{%- macro default__union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n {%- set all_excludes = [] -%}\n {%- set all_includes = [] -%}\n\n {%- if exclude -%}\n {%- for exc in exclude -%}\n {%- do all_excludes.append(exc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- if include -%}\n {%- for inc in include -%}\n {%- do all_includes.append(inc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column | lower in all_excludes -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column | lower not in all_includes -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n {%- set dbt_command = flags.WHICH -%}\n\n\n {% if dbt_command in ['run', 'build'] %}\n {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}\n {%- set relations_string -%}\n {%- for relation in relations -%}\n {{ relation.name }}\n {%- if not loop.last %}, {% endif -%}\n {%- endfor -%}\n {%- endset -%}\n\n {%- set error_message -%}\n There were no columns found to union for relations {{ relations_string }}\n {%- endset -%}\n\n {{ exceptions.raise_compiler_error(error_message) }}\n {%- endif -%}\n {%- endif -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n {%- if source_column_name is not none %}\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {%- endif %}\n\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ relation }}\n\n {% if where -%}\n where {{ where }}\n {%- endif %}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1535084, "supported_languages": null}, "macro.dbt_utils.get_relations_by_prefix": {"name": "get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.get_relations_by_prefix", "macro_sql": "{% macro get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_prefix', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1546416, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_prefix": {"name": "default__get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_prefix", "macro_sql": "{% macro default__get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_prefix_sql(schema, prefix, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1562672, "supported_languages": null}, "macro.dbt_utils.safe_add": {"name": "safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.safe_add", "macro_sql": "{%- macro safe_add(field_list) -%}\n {{ return(adapter.dispatch('safe_add', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1569428, "supported_languages": null}, "macro.dbt_utils.default__safe_add": {"name": "default__safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.default__safe_add", "macro_sql": "\n\n{%- macro default__safe_add(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_add` macro now takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.warn(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' +\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1579976, "supported_languages": null}, "macro.dbt_utils.get_tables_by_prefix_sql": {"name": "get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_prefix_sql", "macro_sql": "{% macro get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_prefix_sql', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1587174, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_prefix_sql": {"name": "default__get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_prefix_sql", "macro_sql": "{% macro default__get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(\n schema_pattern = schema,\n table_pattern = prefix ~ '%',\n exclude = exclude,\n database = database\n ) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1592615, "supported_languages": null}, "macro.dbt_utils.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_utils')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1597674, "supported_languages": null}, "macro.dbt_utils.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }} \n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1602457, "supported_languages": null}, "macro.dbt_utils.get_filtered_columns_in_relation": {"name": "get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.get_filtered_columns_in_relation", "macro_sql": "{% macro get_filtered_columns_in_relation(from, except=[]) -%}\n {{ return(adapter.dispatch('get_filtered_columns_in_relation', 'dbt_utils')(from, except)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1610308, "supported_languages": null}, "macro.dbt_utils.default__get_filtered_columns_in_relation": {"name": "default__get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.default__get_filtered_columns_in_relation", "macro_sql": "{% macro default__get_filtered_columns_in_relation(from, except=[]) -%}\n {%- do dbt_utils._is_relation(from, 'get_filtered_columns_in_relation') -%}\n {%- do dbt_utils._is_ephemeral(from, 'get_filtered_columns_in_relation') -%}\n\n {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {{ return('') }}\n {% endif %}\n\n {%- set include_cols = [] %}\n {%- set cols = adapter.get_columns_in_relation(from) -%}\n {%- set except = except | map(\"lower\") | list %}\n {%- for col in cols -%}\n {%- if col.column|lower not in except -%}\n {% do include_cols.append(col.column) %}\n {%- endif %}\n {%- endfor %}\n\n {{ return(include_cols) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1624427, "supported_languages": null}, "macro.dbt_utils.get_query_results_as_dict": {"name": "get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.get_query_results_as_dict", "macro_sql": "{% macro get_query_results_as_dict(query) %}\n {{ return(adapter.dispatch('get_query_results_as_dict', 'dbt_utils')(query)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_query_results_as_dict"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1631174, "supported_languages": null}, "macro.dbt_utils.default__get_query_results_as_dict": {"name": "default__get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.default__get_query_results_as_dict", "macro_sql": "{% macro default__get_query_results_as_dict(query) %}\n\n{# This macro returns a dictionary of the form {column_name: (tuple_of_results)} #}\n\n {%- call statement('get_query_results', fetch_result=True,auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {% set sql_results={} %}\n\n {%- if execute -%}\n {% set sql_results_table = load_result('get_query_results').table.columns %}\n {% for column_name, column in sql_results_table.items() %}\n {% do sql_results.update({column_name: column.values()}) %}\n {% endfor %}\n {%- endif -%}\n\n {{ return(sql_results) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1642373, "supported_languages": null}, "macro.dbt_utils.nullcheck": {"name": "nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.nullcheck", "macro_sql": "{% macro nullcheck(cols) %}\n {{ return(adapter.dispatch('nullcheck', 'dbt_utils')(cols)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1648436, "supported_languages": null}, "macro.dbt_utils.default__nullcheck": {"name": "default__nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.default__nullcheck", "macro_sql": "{% macro default__nullcheck(cols) %}\n{%- for col in cols %}\n\n {% if col.is_string() -%}\n\n nullif({{col.name}},'') as {{col.name}}\n\n {%- else -%}\n\n {{col.name}}\n\n {%- endif -%}\n\n{%- if not loop.last -%} , {%- endif -%}\n\n{%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1655064, "supported_languages": null}, "macro.dbt_utils.width_bucket": {"name": "width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.width_bucket", "macro_sql": "{% macro width_bucket(expr, min_value, max_value, num_buckets) %}\n {{ return(adapter.dispatch('width_bucket', 'dbt_utils') (expr, min_value, max_value, num_buckets)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__width_bucket"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1667058, "supported_languages": null}, "macro.dbt_utils.default__width_bucket": {"name": "default__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.default__width_bucket", "macro_sql": "{% macro default__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is eaxtly at the bucket egde\n case\n when\n mod(\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }},\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n ) = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1675708, "supported_languages": null}, "macro.dbt_utils.snowflake__width_bucket": {"name": "snowflake__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.snowflake__width_bucket", "macro_sql": "{% macro snowflake__width_bucket(expr, min_value, max_value, num_buckets) %}\n width_bucket({{ expr }}, {{ min_value }}, {{ max_value }}, {{ num_buckets }} )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1680503, "supported_languages": null}, "macro.dbt_utils.pivot": {"name": "pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.pivot", "macro_sql": "{% macro pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {{ return(adapter.dispatch('pivot', 'dbt_utils')(column, values, alias, agg, cmp, prefix, suffix, then_value, else_value, quote_identifiers, distinct)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.169782, "supported_languages": null}, "macro.dbt_utils.default__pivot": {"name": "default__pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.default__pivot", "macro_sql": "{% macro default__pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {% for value in values %}\n {{ agg }}(\n {% if distinct %} distinct {% endif %}\n case\n when {{ column }} {{ cmp }} '{{ dbt.escape_single_quotes(value) }}'\n then {{ then_value }}\n else {{ else_value }}\n end\n )\n {% if alias %}\n {% if quote_identifiers %}\n as {{ adapter.quote(prefix ~ value ~ suffix) }}\n {% else %}\n as {{ dbt_utils.slugify(prefix ~ value ~ suffix) }}\n {% endif %}\n {% endif %}\n {% if not loop.last %},{% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.escape_single_quotes", "macro.dbt_utils.slugify"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1713953, "supported_languages": null}, "macro.dbt_utils.generate_surrogate_key": {"name": "generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.generate_surrogate_key", "macro_sql": "{%- macro generate_surrogate_key(field_list) -%}\n {{ return(adapter.dispatch('generate_surrogate_key', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1721764, "supported_languages": null}, "macro.dbt_utils.default__generate_surrogate_key": {"name": "default__generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.default__generate_surrogate_key", "macro_sql": "\n\n{%- macro default__generate_surrogate_key(field_list) -%}\n\n{%- if var('surrogate_key_treat_nulls_as_empty_strings', False) -%}\n {%- set default_null_value = \"\" -%}\n{%- else -%}\n {%- set default_null_value = '_dbt_utils_surrogate_key_null_' -%}\n{%- endif -%}\n\n{%- set fields = [] -%}\n\n{%- for field in field_list -%}\n\n {%- do fields.append(\n \"coalesce(cast(\" ~ field ~ \" as \" ~ dbt.type_string() ~ \"), '\" ~ default_null_value ~\"')\"\n ) -%}\n\n {%- if not loop.last %}\n {%- do fields.append(\"'-'\") -%}\n {%- endif -%}\n\n{%- endfor -%}\n\n{{ dbt.hash(dbt.concat(fields)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.hash", "macro.dbt.concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1734412, "supported_languages": null}, "macro.dbt_utils.safe_subtract": {"name": "safe_subtract", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_subtract.sql", "original_file_path": "macros/sql/safe_subtract.sql", "unique_id": "macro.dbt_utils.safe_subtract", "macro_sql": "{%- macro safe_subtract(field_list) -%}\n {{ return(adapter.dispatch('safe_subtract', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_subtract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1741185, "supported_languages": null}, "macro.dbt_utils.default__safe_subtract": {"name": "default__safe_subtract", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_subtract.sql", "original_file_path": "macros/sql/safe_subtract.sql", "unique_id": "macro.dbt_utils.default__safe_subtract", "macro_sql": "\n\n{%- macro default__safe_subtract(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_subtract` macro takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' -\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.175154, "supported_languages": null}, "macro.dbt_utils.get_relations_by_pattern": {"name": "get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.get_relations_by_pattern", "macro_sql": "{% macro get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_pattern', 'dbt_utils')(schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1762414, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_pattern": {"name": "default__get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_pattern", "macro_sql": "{% macro default__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1778758, "supported_languages": null}, "macro.dbt_utils.safe_divide": {"name": "safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.safe_divide", "macro_sql": "{% macro safe_divide(numerator, denominator) -%}\n {{ return(adapter.dispatch('safe_divide', 'dbt_utils')(numerator, denominator)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_divide"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1784031, "supported_languages": null}, "macro.dbt_utils.default__safe_divide": {"name": "default__safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.default__safe_divide", "macro_sql": "{% macro default__safe_divide(numerator, denominator) %}\n ( {{ numerator }} ) / nullif( ( {{ denominator }} ), 0)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1786637, "supported_languages": null}, "macro.dbt_utils.star": {"name": "star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.star", "macro_sql": "{% macro star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {{ return(adapter.dispatch('star', 'dbt_utils')(from, relation_alias, except, prefix, suffix, quote_identifiers)) }}\r\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__star"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1805258, "supported_languages": null}, "macro.dbt_utils.default__star": {"name": "default__star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.default__star", "macro_sql": "{% macro default__star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {%- do dbt_utils._is_relation(from, 'star') -%}\r\n {%- do dbt_utils._is_ephemeral(from, 'star') -%}\r\n\r\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\r\n {%- if not execute -%}\r\n {% do return('*') %}\r\n {%- endif -%}\r\n\r\n {% set cols = dbt_utils.get_filtered_columns_in_relation(from, except) %}\r\n\r\n {%- if cols|length <= 0 -%}\r\n {% if flags.WHICH == 'compile' %}\r\n {% set response %}\r\n*\r\n/* No columns were returned. Maybe the relation doesn't exist yet \r\nor all columns were excluded. This star is only output during \r\ndbt compile, and exists to keep SQLFluff happy. */\r\n {% endset %}\r\n {% do return(response) %}\r\n {% else %}\r\n {% do return(\"/* no columns returned from star() macro */\") %}\r\n {% endif %}\r\n {%- else -%}\r\n {%- for col in cols %}\r\n {%- if relation_alias %}{{ relation_alias }}.{% else %}{%- endif -%}\r\n {%- if quote_identifiers -%}\r\n {{ adapter.quote(col)|trim }} {%- if prefix!='' or suffix!='' %} as {{ adapter.quote(prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {%- else -%}\r\n {{ col|trim }} {%- if prefix!='' or suffix!='' %} as {{ (prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {% endif %}\r\n {%- if not loop.last %},{{ '\\n ' }}{%- endif -%}\r\n {%- endfor -%}\r\n {% endif %}\r\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.183455, "supported_languages": null}, "macro.dbt_utils.get_table_types_sql": {"name": "get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.get_table_types_sql", "macro_sql": "{%- macro get_table_types_sql() -%}\n {{ return(adapter.dispatch('get_table_types_sql', 'dbt_utils')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils.postgres__get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1843293, "supported_languages": null}, "macro.dbt_utils.default__get_table_types_sql": {"name": "default__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.default__get_table_types_sql", "macro_sql": "{% macro default__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'EXTERNAL TABLE' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1846054, "supported_languages": null}, "macro.dbt_utils.postgres__get_table_types_sql": {"name": "postgres__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.postgres__get_table_types_sql", "macro_sql": "{% macro postgres__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'FOREIGN' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1848748, "supported_languages": null}, "macro.dbt_utils.databricks__get_table_types_sql": {"name": "databricks__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.databricks__get_table_types_sql", "macro_sql": "{% macro databricks__get_table_types_sql() %}\n case table_type\n when 'MANAGED' then 'table'\n when 'BASE TABLE' then 'table'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.185163, "supported_languages": null}, "macro.dbt_utils.test_not_constant": {"name": "test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.test_not_constant", "macro_sql": "{% test not_constant(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_constant', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_constant"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1859353, "supported_languages": null}, "macro.dbt_utils.default__test_not_constant": {"name": "default__test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.default__test_not_constant", "macro_sql": "{% macro default__test_not_constant(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nselect\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count(distinct {{ column_name }}) as filler_column\n\nfrom {{ model }}\n\n {{groupby_gb_cols}}\n\nhaving count(distinct {{ column_name }}) = 1\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1868358, "supported_languages": null}, "macro.dbt_utils.test_equality": {"name": "test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.test_equality", "macro_sql": "{% test equality(model, compare_model, compare_columns=None) %}\n {{ return(adapter.dispatch('test_equality', 'dbt_utils')(model, compare_model, compare_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1880531, "supported_languages": null}, "macro.dbt_utils.default__test_equality": {"name": "default__test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.default__test_equality", "macro_sql": "{% macro default__test_equality(model, compare_model, compare_columns=None) %}\n\n{% set set_diff %}\n count(*) + coalesce(abs(\n sum(case when which_diff = 'a_minus_b' then 1 else 0 end) -\n sum(case when which_diff = 'b_minus_a' then 1 else 0 end)\n ), 0)\n{% endset %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = set_diff) }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n-- setup\n{%- do dbt_utils._is_relation(model, 'test_equality') -%}\n\n{#-\nIf the compare_cols arg is provided, we can run this test without querying the\ninformation schema\u00a0\u2014 this allows the model to be an ephemeral model\n-#}\n\n{%- if not compare_columns -%}\n {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}\n {%- set compare_columns = adapter.get_columns_in_relation(model) | map(attribute='quoted') -%}\n{%- endif -%}\n\n{% set compare_cols_csv = compare_columns | join(', ') %}\n\nwith a as (\n\n select * from {{ model }}\n\n),\n\nb as (\n\n select * from {{ compare_model }}\n\n),\n\na_minus_b as (\n\n select {{compare_cols_csv}} from a\n {{ dbt.except() }}\n select {{compare_cols_csv}} from b\n\n),\n\nb_minus_a as (\n\n select {{compare_cols_csv}} from b\n {{ dbt.except() }}\n select {{compare_cols_csv}} from a\n\n),\n\nunioned as (\n\n select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b\n union all\n select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a\n\n)\n\nselect * from unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1897957, "supported_languages": null}, "macro.dbt_utils.test_not_accepted_values": {"name": "test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.test_not_accepted_values", "macro_sql": "{% test not_accepted_values(model, column_name, values, quote=True) %}\n {{ return(adapter.dispatch('test_not_accepted_values', 'dbt_utils')(model, column_name, values, quote)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1907167, "supported_languages": null}, "macro.dbt_utils.default__test_not_accepted_values": {"name": "default__test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.default__test_not_accepted_values", "macro_sql": "{% macro default__test_not_accepted_values(model, column_name, values, quote=True) %}\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n\n),\n\nvalidation_errors as (\n\n select\n value_field\n\n from all_values\n where value_field in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n )\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1914618, "supported_languages": null}, "macro.dbt_utils.test_at_least_one": {"name": "test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.test_at_least_one", "macro_sql": "{% test at_least_one(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_at_least_one', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_at_least_one"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1925101, "supported_languages": null}, "macro.dbt_utils.default__test_at_least_one": {"name": "default__test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.default__test_at_least_one", "macro_sql": "{% macro default__test_at_least_one(model, column_name, group_by_columns) %}\n\n{% set pruned_cols = [column_name] %}\n\n{% if group_by_columns|length() > 0 %}\n\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n {% set pruned_cols = group_by_columns %}\n\n {% if column_name not in pruned_cols %}\n {% do pruned_cols.append(column_name) %}\n {% endif %}\n\n{% endif %}\n\n{% set select_pruned_cols = pruned_cols|join(' ,') %}\n\nselect *\nfrom (\n with pruned_rows as (\n select\n {{ select_pruned_cols }}\n from {{ model }}\n where {{ column_name }} is not null\n limit 1\n )\n select\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count({{ column_name }}) as filler_column\n\n from pruned_rows\n\n {{groupby_gb_cols}}\n\n having count({{ column_name }}) = 0\n\n) validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1940255, "supported_languages": null}, "macro.dbt_utils.test_sequential_values": {"name": "test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.test_sequential_values", "macro_sql": "{% test sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n {{ return(adapter.dispatch('test_sequential_values', 'dbt_utils')(model, column_name, interval, datepart, group_by_columns)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_sequential_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1954489, "supported_languages": null}, "macro.dbt_utils.default__test_sequential_values": {"name": "default__test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.default__test_sequential_values", "macro_sql": "{% macro default__test_sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n{% set previous_column_name = \"previous_\" ~ dbt_utils.slugify(column_name) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(',') + ', ' %}\n {% set partition_gb_cols = 'partition by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith windowed as (\n\n select\n {{ select_gb_cols }}\n {{ column_name }},\n lag({{ column_name }}) over (\n {{partition_gb_cols}}\n order by {{ column_name }}\n ) as {{ previous_column_name }}\n from {{ model }}\n),\n\nvalidation_errors as (\n select\n *\n from windowed\n {% if datepart %}\n where not(cast({{ column_name }} as {{ dbt.type_timestamp() }})= cast({{ dbt.dateadd(datepart, interval, previous_column_name) }} as {{ dbt.type_timestamp() }}))\n {% else %}\n where not({{ column_name }} = {{ previous_column_name }} + {{ interval }})\n {% endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.slugify", "macro.dbt.type_timestamp", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.1972997, "supported_languages": null}, "macro.dbt_utils.test_mutually_exclusive_ranges": {"name": "test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.test_mutually_exclusive_ranges", "macro_sql": "{% test mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n {{ return(adapter.dispatch('test_mutually_exclusive_ranges', 'dbt_utils')(model, lower_bound_column, upper_bound_column, partition_by, gaps, zero_length_range_allowed)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_mutually_exclusive_ranges"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2020268, "supported_languages": null}, "macro.dbt_utils.default__test_mutually_exclusive_ranges": {"name": "default__test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.default__test_mutually_exclusive_ranges", "macro_sql": "{% macro default__test_mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n{% if gaps == 'not_allowed' %}\n {% set allow_gaps_operator='=' %}\n {% set allow_gaps_operator_in_words='equal_to' %}\n{% elif gaps == 'allowed' %}\n {% set allow_gaps_operator='<=' %}\n {% set allow_gaps_operator_in_words='less_than_or_equal_to' %}\n{% elif gaps == 'required' %}\n {% set allow_gaps_operator='<' %}\n {% set allow_gaps_operator_in_words='less_than' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`gaps` argument for mutually_exclusive_ranges test must be one of ['not_allowed', 'allowed', 'required'] Got: '\" ~ gaps ~\"'.'\"\n ) }}\n{% endif %}\n{% if not zero_length_range_allowed %}\n {% set allow_zero_length_operator='<' %}\n {% set allow_zero_length_operator_in_words='less_than' %}\n{% elif zero_length_range_allowed %}\n {% set allow_zero_length_operator='<=' %}\n {% set allow_zero_length_operator_in_words='less_than_or_equal_to' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`zero_length_range_allowed` argument for mutually_exclusive_ranges test must be one of [true, false] Got: '\" ~ zero_length_range_allowed ~\"'.'\"\n ) }}\n{% endif %}\n\n{% set partition_clause=\"partition by \" ~ partition_by if partition_by else '' %}\n\nwith window_functions as (\n\n select\n {% if partition_by %}\n {{ partition_by }} as partition_by_col,\n {% endif %}\n {{ lower_bound_column }} as lower_bound,\n {{ upper_bound_column }} as upper_bound,\n\n lead({{ lower_bound_column }}) over (\n {{ partition_clause }}\n order by {{ lower_bound_column }}, {{ upper_bound_column }}\n ) as next_lower_bound,\n\n row_number() over (\n {{ partition_clause }}\n order by {{ lower_bound_column }} desc, {{ upper_bound_column }} desc\n ) = 1 as is_last_record\n\n from {{ model }}\n\n),\n\ncalc as (\n -- We want to return records where one of our assumptions fails, so we'll use\n -- the `not` function with `and` statements so we can write our assumptions more cleanly\n select\n *,\n\n -- For each record: lower_bound should be < upper_bound.\n -- Coalesce it to return an error on the null case (implicit assumption\n -- these columns are not_null)\n coalesce(\n lower_bound {{ allow_zero_length_operator }} upper_bound,\n false\n ) as lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound,\n\n -- For each record: upper_bound {{ allow_gaps_operator }} the next lower_bound.\n -- Coalesce it to handle null cases for the last record.\n coalesce(\n upper_bound {{ allow_gaps_operator }} next_lower_bound,\n is_last_record,\n false\n ) as upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n\n from window_functions\n\n),\n\nvalidation_errors as (\n\n select\n *\n from calc\n\n where not(\n -- THE FOLLOWING SHOULD BE TRUE --\n lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound\n and upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n )\n)\n\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2049642, "supported_languages": null}, "macro.dbt_utils.test_not_empty_string": {"name": "test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.test_not_empty_string", "macro_sql": "{% test not_empty_string(model, column_name, trim_whitespace=true) %}\n\n {{ return(adapter.dispatch('test_not_empty_string', 'dbt_utils')(model, column_name, trim_whitespace)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_empty_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2058187, "supported_languages": null}, "macro.dbt_utils.default__test_not_empty_string": {"name": "default__test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.default__test_not_empty_string", "macro_sql": "{% macro default__test_not_empty_string(model, column_name, trim_whitespace=true) %}\n\n with\n \n all_values as (\n\n select \n\n\n {% if trim_whitespace == true -%}\n\n trim({{ column_name }}) as {{ column_name }}\n\n {%- else -%}\n\n {{ column_name }}\n\n {%- endif %}\n \n from {{ model }}\n\n ),\n\n errors as (\n\n select * from all_values\n where {{ column_name }} = ''\n\n )\n\n select * from errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.206398, "supported_languages": null}, "macro.dbt_utils.test_not_null_proportion": {"name": "test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.test_not_null_proportion", "macro_sql": "{% macro test_not_null_proportion(model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_null_proportion', 'dbt_utils')(model, group_by_columns, **kwargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_null_proportion"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.207422, "supported_languages": null}, "macro.dbt_utils.default__test_not_null_proportion": {"name": "default__test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.default__test_not_null_proportion", "macro_sql": "{% macro default__test_not_null_proportion(model, group_by_columns) %}\n\n{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}\n{% set at_least = kwargs.get('at_least', kwargs.get('arg')) %}\n{% set at_most = kwargs.get('at_most', kwargs.get('arg', 1)) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith validation as (\n select\n {{select_gb_cols}}\n sum(case when {{ column_name }} is null then 0 else 1 end) / cast(count(*) as numeric) as not_null_proportion\n from {{ model }}\n {{groupby_gb_cols}}\n),\nvalidation_errors as (\n select\n {{select_gb_cols}}\n not_null_proportion\n from validation\n where not_null_proportion < {{ at_least }} or not_null_proportion > {{ at_most }}\n)\nselect\n *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.208962, "supported_languages": null}, "macro.dbt_utils.test_recency": {"name": "test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.test_recency", "macro_sql": "{% test recency(model, field, datepart, interval, ignore_time_component=False, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_recency', 'dbt_utils')(model, field, datepart, interval, ignore_time_component, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_recency"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2102082, "supported_languages": null}, "macro.dbt_utils.default__test_recency": {"name": "default__test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.default__test_recency", "macro_sql": "{% macro default__test_recency(model, field, datepart, interval, ignore_time_component, group_by_columns) %}\n\n{% set threshold = 'cast(' ~ dbt.dateadd(datepart, interval * -1, dbt.current_timestamp()) ~ ' as ' ~ ('date' if ignore_time_component else dbt.type_timestamp()) ~ ')' %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nwith recency as (\n\n select \n\n {{ select_gb_cols }}\n {% if ignore_time_component %}\n cast(max({{ field }}) as date) as most_recent\n {%- else %}\n max({{ field }}) as most_recent\n {%- endif %}\n\n from {{ model }}\n\n {{ groupby_gb_cols }}\n\n)\n\nselect\n\n {{ select_gb_cols }}\n most_recent,\n {{ threshold }} as threshold\n\nfrom recency\nwhere most_recent < {{ threshold }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.current_timestamp", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.211794, "supported_languages": null}, "macro.dbt_utils.test_equal_rowcount": {"name": "test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.test_equal_rowcount", "macro_sql": "{% test equal_rowcount(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_equal_rowcount', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equal_rowcount"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2131767, "supported_languages": null}, "macro.dbt_utils.default__test_equal_rowcount": {"name": "default__test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.default__test_equal_rowcount", "macro_sql": "{% macro default__test_equal_rowcount(model, compare_model, group_by_columns) %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = 'sum(coalesce(diff_count, 0))') }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(', ') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in fewer_rows_than. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_equal_rowcount'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_a \n from {{ model }}\n {{groupby_gb_cols}}\n\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_b \n from {{ compare_model }}\n {{groupby_gb_cols}}\n\n),\nfinal as (\n\n select\n \n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_a,\n count_b,\n abs(count_a - count_b) as diff_count\n\n from a\n full join b\n on\n a.id_dbtutils_test_equal_rowcount = b.id_dbtutils_test_equal_rowcount\n {{join_gb_cols}}\n\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2152193, "supported_languages": null}, "macro.dbt_utils.test_relationships_where": {"name": "test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.test_relationships_where", "macro_sql": "{% test relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n {{ return(adapter.dispatch('test_relationships_where', 'dbt_utils')(model, column_name, to, field, from_condition, to_condition)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_relationships_where"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.216282, "supported_languages": null}, "macro.dbt_utils.default__test_relationships_where": {"name": "default__test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.default__test_relationships_where", "macro_sql": "{% macro default__test_relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n\n{# T-SQL has no boolean data type so we use 1=1 which returns TRUE #}\n{# ref https://stackoverflow.com/a/7170753/3842610 #}\n\nwith left_table as (\n\n select\n {{column_name}} as id\n\n from {{model}}\n\n where {{column_name}} is not null\n and {{from_condition}}\n\n),\n\nright_table as (\n\n select\n {{field}} as id\n\n from {{to}}\n\n where {{field}} is not null\n and {{to_condition}}\n\n),\n\nexceptions as (\n\n select\n left_table.id,\n right_table.id as right_id\n\n from left_table\n\n left join right_table\n on left_table.id = right_table.id\n\n where right_table.id is null\n\n)\n\nselect * from exceptions\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2169254, "supported_languages": null}, "macro.dbt_utils.test_unique_combination_of_columns": {"name": "test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.test_unique_combination_of_columns", "macro_sql": "{% test unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n {{ return(adapter.dispatch('test_unique_combination_of_columns', 'dbt_utils')(model, combination_of_columns, quote_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_unique_combination_of_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2179205, "supported_languages": null}, "macro.dbt_utils.default__test_unique_combination_of_columns": {"name": "default__test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.default__test_unique_combination_of_columns", "macro_sql": "{% macro default__test_unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n\n{% if not quote_columns %}\n {%- set column_list=combination_of_columns %}\n{% elif quote_columns %}\n {%- set column_list=[] %}\n {% for column in combination_of_columns -%}\n {% set column_list = column_list.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set columns_csv=column_list | join(', ') %}\n\n\nwith validation_errors as (\n\n select\n {{ columns_csv }}\n from {{ model }}\n group by {{ columns_csv }}\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.219129, "supported_languages": null}, "macro.dbt_utils.test_cardinality_equality": {"name": "test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.test_cardinality_equality", "macro_sql": "{% test cardinality_equality(model, column_name, to, field) %}\n {{ return(adapter.dispatch('test_cardinality_equality', 'dbt_utils')(model, column_name, to, field)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_cardinality_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.220021, "supported_languages": null}, "macro.dbt_utils.default__test_cardinality_equality": {"name": "default__test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.default__test_cardinality_equality", "macro_sql": "{% macro default__test_cardinality_equality(model, column_name, to, field) %}\n\n{# T-SQL does not let you use numbers as aliases for columns #}\n{# Thus, no \"GROUP BY 1\" #}\n\nwith table_a as (\nselect\n {{ column_name }},\n count(*) as num_rows\nfrom {{ model }}\ngroup by {{ column_name }}\n),\n\ntable_b as (\nselect\n {{ field }},\n count(*) as num_rows\nfrom {{ to }}\ngroup by {{ field }}\n),\n\nexcept_a as (\n select *\n from table_a\n {{ dbt.except() }}\n select *\n from table_b\n),\n\nexcept_b as (\n select *\n from table_b\n {{ dbt.except() }}\n select *\n from table_a\n),\n\nunioned as (\n select *\n from except_a\n union all\n select *\n from except_b\n)\n\nselect *\nfrom unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2206833, "supported_languages": null}, "macro.dbt_utils.test_fewer_rows_than": {"name": "test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.test_fewer_rows_than", "macro_sql": "{% test fewer_rows_than(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_fewer_rows_than', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_fewer_rows_than"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2223134, "supported_languages": null}, "macro.dbt_utils.default__test_fewer_rows_than": {"name": "default__test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.default__test_fewer_rows_than", "macro_sql": "{% macro default__test_fewer_rows_than(model, compare_model, group_by_columns) %}\n\n{{ config(fail_calc = 'sum(coalesce(row_count_delta, 0))') }}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in equal_rowcount. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_fewer_rows_than'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_our_model \n from {{ model }}\n {{ groupby_gb_cols }}\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_comparison_model \n from {{ compare_model }}\n {{ groupby_gb_cols }}\n\n),\ncounts as (\n\n select\n\n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_our_model,\n count_comparison_model\n from a\n full join b on \n a.id_dbtutils_test_fewer_rows_than = b.id_dbtutils_test_fewer_rows_than\n {{ join_gb_cols }}\n\n),\nfinal as (\n\n select *,\n case\n -- fail the test if we have more rows than the reference model and return the row count delta\n when count_our_model > count_comparison_model then (count_our_model - count_comparison_model)\n -- fail the test if they are the same number\n when count_our_model = count_comparison_model then 1\n -- pass the test if the delta is positive (i.e. return the number 0)\n else 0\n end as row_count_delta\n from counts\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2243652, "supported_languages": null}, "macro.dbt_utils.test_accepted_range": {"name": "test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.test_accepted_range", "macro_sql": "{% test accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n {{ return(adapter.dispatch('test_accepted_range', 'dbt_utils')(model, column_name, min_value, max_value, inclusive)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_accepted_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2254052, "supported_languages": null}, "macro.dbt_utils.default__test_accepted_range": {"name": "default__test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.default__test_accepted_range", "macro_sql": "{% macro default__test_accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n\nwith meet_condition as(\n select *\n from {{ model }}\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n\n {%- if min_value is not none %}\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} > {{- \"=\" if inclusive }} {{ min_value }}\n {%- endif %}\n\n {%- if max_value is not none %}\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} < {{- \"=\" if inclusive }} {{ max_value }}\n {%- endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2263234, "supported_languages": null}, "macro.dbt_utils.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.test_expression_is_true", "macro_sql": "{% test expression_is_true(model, expression, column_name=None) %}\n {{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, column_name)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2270446, "supported_languages": null}, "macro.dbt_utils.default__test_expression_is_true": {"name": "default__test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.default__test_expression_is_true", "macro_sql": "{% macro default__test_expression_is_true(model, expression, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else \"1\" %}\n\nselect\n {{ column_list }}\nfrom {{ model }}\n{% if column_name is none %}\nwhere not({{ expression }})\n{%- else %}\nwhere not({{ column_name }} {{ expression }})\n{%- endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1721335127.2277434, "supported_languages": null}}, "docs": {"doc.dbt.__overview__": {"name": "__overview__", "resource_type": "doc", "package_name": "dbt", "path": "overview.md", "original_file_path": "docs/overview.md", "unique_id": "doc.dbt.__overview__", "block_contents": "### Welcome!\n\nWelcome to the auto-generated documentation for your dbt project!\n\n### Navigation\n\nYou can use the `Project` and `Database` navigation tabs on the left side of the window to explore the models\nin your project.\n\n#### Project Tab\nThe `Project` tab mirrors the directory structure of your dbt project. In this tab, you can see all of the\nmodels defined in your dbt project, as well as models imported from dbt packages.\n\n#### Database Tab\nThe `Database` tab also exposes your models, but in a format that looks more like a database explorer. This view\nshows relations (tables and views) grouped into database schemas. Note that ephemeral models are _not_ shown\nin this interface, as they do not exist in the database.\n\n### Graph Exploration\nYou can click the blue icon on the bottom-right corner of the page to view the lineage graph of your models.\n\nOn model pages, you'll see the immediate parents and children of the model you're exploring. By clicking the `Expand`\nbutton at the top-right of this lineage pane, you'll be able to see all of the models that are used to build,\nor are built from, the model you're exploring.\n\nOnce expanded, you'll be able to use the `--select` and `--exclude` model selection syntax to filter the\nmodels in the graph. For more information on model selection, check out the [dbt docs](https://docs.getdbt.com/docs/model-selection-syntax).\n\nNote that you can also right-click on models to interactively filter and explore the graph.\n\n---\n\n### More information\n\n- [What is dbt](https://docs.getdbt.com/docs/introduction)?\n- Read the [dbt viewpoint](https://docs.getdbt.com/docs/viewpoint)\n- [Installation](https://docs.getdbt.com/docs/installation)\n- Join the [dbt Community](https://www.getdbt.com/community/) for questions and discussion"}}, "exposures": {}, "metrics": {}, "groups": {}, "selectors": {}, "disabled": {"model.synthetix.fct_v2_market_stats_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_stats_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_market_stats_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_market_stats_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_stats_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_market_stats_optimism_mainnet"], "alias": "fct_v2_market_stats_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "7a2916095649be722410ef5dfed3af2cee8aaae0f7c6a5f56a091802c339364e"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_ts on {{ this }} (ts)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi": {"name": "total_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_ts on {{ this }} (ts)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335130.0467758, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_stats_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_ts on {{ this }} (ts)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH trades AS (\n\n SELECT\n id,\n ts,\n block_number,\n market,\n fee AS exchange_fees,\n 0 AS liquidation_fees,\n price * ABS(trade_size) AS volume,\n 0 AS amount_liquidated,\n 1 AS trades,\n 0 AS liquidations,\n tracking_code\n FROM\n {{ ref(\n 'fct_v2_actions_optimism_mainnet'\n ) }}\n WHERE\n order_type = 'trade'\n),\nliquidations AS (\n SELECT\n id,\n ts,\n block_number,\n market,\n 0 AS exchange_fees,\n fee AS liquidation_fees,\n 0 AS volume,\n price * ABS(trade_size) AS amount_liquidated,\n 0 AS trades,\n 1 AS liquidations,\n tracking_code\n FROM\n {{ ref(\n 'fct_v2_actions_optimism_mainnet'\n ) }}\n WHERE\n order_type = 'liquidation'\n),\nactions AS (\n SELECT\n *\n FROM\n trades\n UNION ALL\n SELECT\n *\n FROM\n liquidations\n),\noi AS (\n SELECT\n id,\n ts,\n market,\n skew,\n long_oi,\n short_oi,\n long_oi_pct,\n short_oi_pct,\n total_oi,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd\n FROM\n {{ ref(\n 'fct_v2_open_interest_optimism_mainnet'\n ) }}\n\n{% if is_incremental() %}\nWHERE\n id > (\n SELECT\n MAX(id)\n FROM\n {{ this }}\n )\n{% endif %}\n),\nmarket_stats AS (\n SELECT\n actions.ts,\n actions.id,\n actions.market,\n actions.block_number,\n funding.funding_rate,\n actions.exchange_fees,\n actions.liquidation_fees,\n actions.volume,\n actions.amount_liquidated,\n actions.trades,\n actions.liquidations,\n actions.tracking_code,\n oi.skew,\n oi.long_oi,\n oi.short_oi,\n oi.total_oi,\n oi.long_oi_usd,\n oi.short_oi_usd,\n oi.total_oi_usd,\n oi.long_oi_pct,\n oi.short_oi_pct,\n SUM(\n actions.exchange_fees\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_exchange_fees,\n SUM(\n actions.liquidation_fees\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_liquidation_fees,\n SUM(\n actions.volume\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_volume,\n SUM(\n actions.amount_liquidated\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_amount_liquidated,\n SUM(\n actions.trades\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_trades,\n SUM(\n actions.liquidations\n ) over (\n PARTITION BY actions.market\n ORDER BY\n actions.id\n ) AS cumulative_liquidations\n FROM\n actions\n LEFT JOIN oi\n ON actions.id = oi.id\n LEFT JOIN {{ ref('fct_v2_funding_optimism_mainnet') }} AS funding\n ON actions.block_number = funding.block_number\n AND actions.market = funding.market\n)\nSELECT\n *\nFROM\n market_stats\n\n{% if is_incremental() %}\nWHERE\n id > (\n SELECT\n MAX(id)\n FROM\n {{ this }}\n )\n{% endif %}", "language": "sql", "refs": [{"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_open_interest_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_funding_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_trade_tracking_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_trade_tracking_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_trade_tracking_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_trade_tracking_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_trade_tracking_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_trade_tracking_optimism_mainnet"], "alias": "fct_v2_trade_tracking_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "78ae8dc72f032f26f9748530b7275b0214cf08268ab938983b10a51800f3ae55"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)"]}, "created_at": 1721335130.0487022, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_trade_tracking_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\"]\n) }}\n\nWITH order_submit AS (\n\n SELECT\n block_timestamp,\n contract,\n account,\n tracking_code\n FROM\n {{ ref('v2_perp_delayed_order_submitted_optimism_mainnet') }}\n),\nposition_modified AS (\n SELECT\n id,\n block_number,\n contract,\n account,\n block_timestamp\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n WHERE\n trade_size != 0\n\n{% if is_incremental() %}\nAND block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n),\ncombined AS (\n SELECT\n position_modified.id,\n position_modified.block_number,\n order_submit.tracking_code,\n ROW_NUMBER() over (\n PARTITION BY position_modified.contract,\n position_modified.account,\n position_modified.id\n ORDER BY\n order_submit.block_timestamp DESC\n ) AS rn\n FROM\n position_modified\n JOIN order_submit\n ON position_modified.contract = order_submit.contract\n AND position_modified.account = order_submit.account\n AND position_modified.block_timestamp BETWEEN order_submit.block_timestamp\n AND order_submit.block_timestamp + INTERVAL '5' MINUTE\n)\nSELECT\n id,\n block_number,\n tracking_code\nFROM\n combined\nWHERE\n rn = 1", "language": "sql", "refs": [{"name": "v2_perp_delayed_order_submitted_optimism_mainnet", "package": null, "version": null}, {"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_trades_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_trades_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_trades_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_trades_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_trades_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_trades_optimism_mainnet"], "alias": "fct_v2_trades_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "61360205017de27330e417cb04a8bae92da6e9983df193cb9f9aa833af147297"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_ts on {{ this }} (ts)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_ts on {{ this }} (ts)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335130.0499134, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_trades_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_ts on {{ this }} (ts)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH trade_base AS (\n\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n last_price,\n account,\n market,\n margin,\n trade_size,\n \"size\",\n COALESCE(LAG(\"size\", 1) over (PARTITION BY market, account\n ORDER BY\n id), 0) AS last_size,\n skew,\n fee,\n 'trade' AS order_type\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n )\nSELECT\n trade_base.id,\n block_timestamp AS ts,\n trade_base.block_number,\n transaction_hash,\n {{ convert_wei('last_price') }} AS price,\n account,\n market,\n {{ convert_wei('margin') }} AS margin,\n {{ convert_wei('trade_size') }} AS trade_size,\n {{ convert_wei('size') }} AS \"size\",\n {{ convert_wei('last_size') }} AS last_size,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('fee') }} AS fee,\n order_type,\n UPPER(\n COALESCE({{ convert_hex('tracking_code.tracking_code') }}, 'NO TRACKING CODE')) AS tracking_code\n FROM\n trade_base\n LEFT JOIN {{ ref('fct_v2_trade_tracking_optimism_mainnet') }}\n tracking_code\n ON trade_base.id = tracking_code.id\n WHERE\n trade_size != 0", "language": "sql", "refs": [{"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_trade_tracking_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental", "macro.synthetix.convert_wei", "macro.synthetix.convert_hex"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_liquidations_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_liquidations_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_liquidations_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_liquidations_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_liquidations_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_liquidations_optimism_mainnet"], "alias": "fct_v2_liquidations_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "310588e7d7696f8fe40904f6326c06a5474220ec8a28b7b2e7dd9a7cdac6040f"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "id"}, "created_at": 1721335130.0446448, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_liquidations_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n) }}\n\nWITH liq_trades AS (\n\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n last_price,\n account,\n market,\n margin,\n trade_size,\n COALESCE(LAG(\"size\", 1) over (PARTITION BY market, account\n ORDER BY\n id), 0) AS last_size,\n \"size\",\n skew,\n fee\n FROM\n {{ ref('v2_perp_position_modified_optimism_mainnet') }}\n),\nliq_events AS (\n SELECT\n block_number,\n account,\n market,\n transaction_hash,\n total_fee\n FROM\n {{ ref('v2_perp_position_liquidated_optimism_mainnet') }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n ),\n liq_base AS (\n SELECT\n lt.id,\n lt.block_timestamp,\n lt.block_number,\n lt.transaction_hash,\n lt.last_price,\n lt.account,\n lt.market,\n lt.margin,\n -1 * lt.last_size AS trade_size,\n lt.last_size,\n lt.size,\n lt.skew,\n lt.fee + le.total_fee AS fee,\n 'liquidation' AS order_type,\n NULL AS tracking_code\n FROM\n liq_trades lt\n JOIN liq_events le\n ON lt.block_number = le.block_number\n AND lt.account = le.account\n AND lt.market = le.market\n AND lt.transaction_hash = le.transaction_hash\n WHERE\n lt.margin = 0\n AND lt.trade_size = 0\n AND lt.size = 0\n AND lt.last_size != 0\n )\nSELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n {{ convert_wei('last_price') }} AS price,\n account,\n market,\n {{ convert_wei('margin') }} AS margin,\n {{ convert_wei('trade_size') }} AS trade_size,\n {{ convert_wei('size') }} AS \"size\",\n {{ convert_wei('last_size') }} AS last_size,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('fee') }} AS fee,\n 'liquidation' AS order_type,\n NULL AS tracking_code\nFROM\n liq_base", "language": "sql", "refs": [{"name": "v2_perp_position_modified_optimism_mainnet", "package": null, "version": null}, {"name": "v2_perp_position_liquidated_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.is_incremental", "macro.synthetix.convert_wei"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_transfers_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_transfers_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_transfers_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_transfers_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_transfers_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_transfers_optimism_mainnet"], "alias": "fct_v2_transfers_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "6330282ec05c570b9671a69c4951575bbcc35f05ceee65903fd3359d53e24273"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin_delta": {"name": "margin_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_market_transfers": {"name": "net_market_transfers", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_transfers": {"name": "net_transfers", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0522342, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_transfers_optimism_mainnet\"", "raw_code": "WITH events AS (\n SELECT\n *\n FROM\n {{ ref('v2_perp_margin_transferred_optimism_mainnet') }}\n)\nSELECT\n id,\n transaction_hash,\n block_timestamp AS ts,\n block_number,\n market,\n account,\n margin_delta,\n -- calculate cumulative net delta\n SUM(margin_delta) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS net_market_transfers,\n SUM(margin_delta) over (\n ORDER BY\n id\n ) AS net_transfers\nFROM\n events", "language": "sql", "refs": [{"name": "v2_perp_margin_transferred_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_actions_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_actions_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_actions_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_actions_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_actions_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_actions_optimism_mainnet"], "alias": "fct_v2_actions_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "e46caf2f80bf61573b6948fa059b0c2c0a156dd9230d1efa4f6a5adf748feee4"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_size": {"name": "last_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0427356, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_actions_optimism_mainnet\"", "raw_code": "WITH combined_base AS (\n SELECT\n *\n FROM\n {{ ref('fct_v2_trades_optimism_mainnet') }}\n UNION ALL\n SELECT\n *\n FROM\n {{ ref('fct_v2_liquidations_optimism_mainnet') }}\n),\nall_base AS (\n SELECT\n id,\n ts,\n block_number,\n transaction_hash,\n price,\n account,\n market,\n margin,\n trade_size,\n \"size\",\n last_size,\n skew,\n fee,\n order_type,\n tracking_code\n FROM\n combined_base\n)\nSELECT\n *\nFROM\n all_base", "language": "sql", "refs": [{"name": "fct_v2_trades_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_liquidations_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_funding_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_funding_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_funding_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_funding_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_funding_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_funding_optimism_mainnet"], "alias": "fct_v2_funding_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "d53108472259a9c48b23a63b857cab94ec45dfd750e688bfae3c62468daffce2"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "block_number", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet", "materialized": "incremental", "unique_key": "block_number", "post-hook": ["create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335130.0434594, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_funding_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'block_number',\n post_hook = [ \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\"]\n) }}\n\nWITH funding AS (\n\n SELECT\n block_number,\n market,\n {{ convert_wei('funding_rate') }} AS funding_rate\n FROM\n (\n SELECT\n block_number,\n market,\n funding_rate,\n ROW_NUMBER() over (\n PARTITION BY block_number,\n market\n ORDER BY\n id DESC\n ) AS rn\n FROM\n {{ ref(\n 'v2_perp_funding_recomputed_optimism_mainnet'\n ) }}\n\n{% if is_incremental() %}\nWHERE\n block_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% endif %}\n ) AS subquery\nWHERE\n rn = 1\n)\nSELECT\n *\nFROM\n funding", "language": "sql", "refs": [{"name": "v2_perp_funding_recomputed_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_open_interest_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_open_interest_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/fct_v2_open_interest_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/fct_v2_open_interest_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_open_interest_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "fct_v2_open_interest_optimism_mainnet"], "alias": "fct_v2_open_interest_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "d4ec92bedd55dd88d34acc7a981b355c37dba70d7feaf23f208a37be210f2f1a"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi": {"name": "total_oi", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0480313, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_open_interest_optimism_mainnet\"", "raw_code": "WITH oi_base AS (\n SELECT\n id,\n ts,\n market,\n order_type,\n trade_size,\n price,\n skew,\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN -1 * last_size\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN \"size\"\n WHEN \"size\" > 0 -- long increase\n AND \"size\" > last_size THEN (\n \"size\" - last_size\n )\n WHEN \"size\" >= 0 -- long decrease\n AND \"size\" < last_size THEN (\n \"size\" - last_size\n )\n ELSE 0\n END AS long_oi_change,\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN \"size\" * -1\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN last_size\n WHEN \"size\" < 0 -- short increase\n AND \"size\" < last_size THEN (\n last_size - \"size\"\n )\n WHEN \"size\" <= 0 -- short decrease\n AND \"size\" > last_size THEN (\n last_size - \"size\"\n )\n ELSE 0\n END AS short_oi_change,\n -- get the cumulative sum\n SUM(\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN -1 * last_size\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN \"size\"\n WHEN \"size\" > 0 -- long increase\n AND \"size\" > last_size THEN (\n \"size\" - last_size\n )\n WHEN \"size\" >= 0 -- long decrease\n AND \"size\" < last_size THEN (\n \"size\" - last_size\n )\n ELSE 0\n END\n ) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS long_oi,\n SUM(\n CASE\n WHEN last_size > 0 -- long cross\n AND \"size\" < 0 THEN \"size\" * -1\n WHEN last_size < 0 --short cross\n AND \"size\" > 0 THEN last_size\n WHEN \"size\" < 0 -- short increase\n AND \"size\" < last_size THEN (\n last_size - \"size\"\n )\n WHEN \"size\" <= 0 -- short decrease\n AND \"size\" > last_size THEN (\n last_size - \"size\"\n )\n ELSE 0\n END\n ) over (\n PARTITION BY market\n ORDER BY\n id\n ) AS short_oi\n FROM\n {{ ref('fct_v2_actions_optimism_mainnet') }}\n)\nSELECT\n id,\n ts,\n market,\n order_type,\n trade_size,\n price,\n COALESCE(\n skew,\n long_oi - short_oi\n ) AS skew,\n long_oi,\n short_oi,\n CASE\n WHEN (\n long_oi + short_oi\n ) > 0 THEN long_oi / (\n long_oi + short_oi\n )\n ELSE 0\n END AS long_oi_pct,\n CASE\n WHEN (\n long_oi + short_oi\n ) > 0 THEN short_oi / (\n long_oi + short_oi\n )\n ELSE 0\n END AS short_oi_pct,\n long_oi + short_oi AS total_oi,\n long_oi * price AS long_oi_usd,\n short_oi * price AS short_oi_usd,\n (\n long_oi + short_oi\n ) * price AS total_oi_usd\nFROM\n oi_base", "language": "sql", "refs": [{"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_market_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_market_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_market_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_market_hourly_optimism_mainnet"], "alias": "fct_v2_market_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "08dbf3daacc85f6e34cea8f1a0cf1acf4e5ee34aab52329e087b130e54022eca"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0367212, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_hourly_optimism_mainnet\"", "raw_code": "WITH raw_data AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market,\n MAX(id) AS max_id,\n SUM(exchange_fees) AS exchange_fees,\n SUM(liquidation_fees) AS liquidation_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(trades) AS trades,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naggregated_data AS (\n SELECT\n A.ts,\n A.market,\n A.exchange_fees,\n A.liquidation_fees,\n A.volume,\n A.amount_liquidated,\n A.trades,\n A.liquidations,\n b.long_oi_usd,\n b.short_oi_usd,\n b.total_oi_usd,\n b.cumulative_exchange_fees,\n b.cumulative_liquidation_fees,\n b.cumulative_volume,\n b.cumulative_amount_liquidated,\n b.cumulative_trades,\n b.cumulative_liquidations\n FROM\n raw_data A\n JOIN {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n b\n ON A.max_id = b.id\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.market\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('hour', ts)), MAX(DATE_TRUNC('hour', ts)), '1 hour' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT market\n FROM\n aggregated_data\n ) AS q2\n),\ngap_data AS (\n SELECT\n ds.ts,\n ds.market,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.liquidation_fees,\n 0\n ) AS liquidation_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n COALESCE(\n ad.liquidations,\n 0\n ) AS liquidations,\n ad.long_oi_usd,\n ad.short_oi_usd,\n ad.total_oi_usd,\n ad.cumulative_exchange_fees,\n ad.cumulative_liquidation_fees,\n ad.cumulative_volume,\n ad.cumulative_amount_liquidated,\n ad.cumulative_trades,\n ad.cumulative_liquidations\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.market = ad.market\n),\nagg_data AS (\n SELECT\n ts,\n market,\n FIRST_VALUE(long_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) long_oi_usd,\n FIRST_VALUE(short_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) short_oi_usd,\n FIRST_VALUE(total_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) total_oi_usd,\n FIRST_VALUE(cumulative_exchange_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_exchange_fees,\n FIRST_VALUE(cumulative_liquidation_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidation_fees,\n FIRST_VALUE(cumulative_volume) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_volume,\n FIRST_VALUE(cumulative_amount_liquidated) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_amount_liquidated,\n FIRST_VALUE(cumulative_trades) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_trades,\n FIRST_VALUE(cumulative_liquidations) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidations\n FROM\n (\n SELECT\n ts,\n market,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd,\n cumulative_exchange_fees,\n cumulative_liquidation_fees,\n cumulative_volume,\n cumulative_amount_liquidated,\n cumulative_trades,\n cumulative_liquidations,\n COUNT(long_oi_usd) over (\n PARTITION BY market\n ORDER BY\n ts\n ) AS value_partition\n FROM\n gap_data\n ) AS q\n)\nSELECT\n gap_data.ts,\n gap_data.market,\n gap_data.exchange_fees,\n gap_data.liquidation_fees,\n gap_data.volume,\n gap_data.amount_liquidated,\n gap_data.trades,\n gap_data.liquidations,\n agg_data.long_oi_usd,\n agg_data.short_oi_usd,\n agg_data.total_oi_usd,\n agg_data.cumulative_exchange_fees,\n agg_data.cumulative_liquidation_fees,\n agg_data.cumulative_volume,\n agg_data.cumulative_amount_liquidated,\n agg_data.cumulative_trades,\n agg_data.cumulative_liquidations\nFROM\n gap_data\n JOIN agg_data USING (\n ts,\n market\n )", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_market_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_market_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_market_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_market_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_market_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_market_daily_optimism_mainnet"], "alias": "fct_v2_market_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "497d210f94d96afcd9f4c3111c7b50289c8953f8bc7db4d54695707d528d0311"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.035415, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_market_daily_optimism_mainnet\"", "raw_code": "WITH raw_data AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market,\n MAX(id) AS max_id,\n SUM(exchange_fees) AS exchange_fees,\n SUM(liquidation_fees) AS liquidation_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(trades) AS trades,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\naggregated_data AS (\n SELECT\n A.ts,\n A.market,\n A.exchange_fees,\n A.liquidation_fees,\n A.volume,\n A.amount_liquidated,\n A.trades,\n A.liquidations,\n b.long_oi_usd,\n b.short_oi_usd,\n b.total_oi_usd,\n b.cumulative_exchange_fees,\n b.cumulative_liquidation_fees,\n b.cumulative_volume,\n b.cumulative_amount_liquidated,\n b.cumulative_trades,\n b.cumulative_liquidations\n FROM\n raw_data A\n JOIN {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n b\n ON A.max_id = b.id\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.market\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('day', ts)), MAX(DATE_TRUNC('day', ts)), '1 day' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT market\n FROM\n aggregated_data\n ) AS q2\n),\ngap_data AS (\n SELECT\n ds.ts,\n ds.market,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.liquidation_fees,\n 0\n ) AS liquidation_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n COALESCE(\n ad.liquidations,\n 0\n ) AS liquidations,\n ad.long_oi_usd,\n ad.short_oi_usd,\n ad.total_oi_usd,\n ad.cumulative_exchange_fees,\n ad.cumulative_liquidation_fees,\n ad.cumulative_volume,\n ad.cumulative_amount_liquidated,\n ad.cumulative_trades,\n ad.cumulative_liquidations\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.market = ad.market\n),\nagg_data AS (\n SELECT\n ts,\n market,\n FIRST_VALUE(long_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) long_oi_usd,\n FIRST_VALUE(short_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) short_oi_usd,\n FIRST_VALUE(total_oi_usd) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) total_oi_usd,\n FIRST_VALUE(cumulative_exchange_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_exchange_fees,\n FIRST_VALUE(cumulative_liquidation_fees) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidation_fees,\n FIRST_VALUE(cumulative_volume) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_volume,\n FIRST_VALUE(cumulative_amount_liquidated) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_amount_liquidated,\n FIRST_VALUE(cumulative_trades) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_trades,\n FIRST_VALUE(cumulative_liquidations) over (\n PARTITION BY market,\n value_partition\n ORDER BY\n ts\n ) cumulative_liquidations\n FROM\n (\n SELECT\n ts,\n market,\n long_oi_usd,\n short_oi_usd,\n total_oi_usd,\n cumulative_exchange_fees,\n cumulative_liquidation_fees,\n cumulative_volume,\n cumulative_amount_liquidated,\n cumulative_trades,\n cumulative_liquidations,\n COUNT(long_oi_usd) over (\n PARTITION BY market\n ORDER BY\n ts\n ) AS value_partition\n FROM\n gap_data\n ) AS q\n)\nSELECT\n gap_data.ts,\n gap_data.market,\n gap_data.exchange_fees,\n gap_data.liquidation_fees,\n gap_data.volume,\n gap_data.amount_liquidated,\n gap_data.trades,\n gap_data.liquidations,\n agg_data.long_oi_usd,\n agg_data.short_oi_usd,\n agg_data.total_oi_usd,\n agg_data.cumulative_exchange_fees,\n agg_data.cumulative_liquidation_fees,\n agg_data.cumulative_volume,\n agg_data.cumulative_amount_liquidated,\n agg_data.cumulative_trades,\n agg_data.cumulative_liquidations\nFROM\n gap_data\n JOIN agg_data USING (\n ts,\n market\n )", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_integrator_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_integrator_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_integrator_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_integrator_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_integrator_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_integrator_daily_optimism_mainnet"], "alias": "fct_v2_integrator_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "9011562230c7060c9c6550bd61dfbd8ee2422edf11ebea37d2ea478cc901b91a"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_total": {"name": "exchange_fees_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_total": {"name": "volume_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "trades_total": {"name": "trades_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "traders": {"name": "traders", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.030157, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_integrator_daily_optimism_mainnet\"", "raw_code": "WITH aggregated_data AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.tracking_code\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('day', ts)), MAX(DATE_TRUNC('day', ts)), '1 day' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT tracking_code\n FROM\n aggregated_data\n ) AS q2\n),\ntraders AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(COUNT(DISTINCT account), 0) AS traders\n FROM\n date_series ds\n LEFT JOIN {{ ref('fct_v2_actions_optimism_mainnet') }}\n ad\n ON ds.ts = DATE_TRUNC(\n 'day',\n ad.ts\n )\n AND ds.tracking_code = ad.tracking_code\n GROUP BY\n 1,\n 2\n),\ncomplete_data AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n t.traders\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.tracking_code = ad.tracking_code\n LEFT JOIN traders t\n ON ds.ts = t.ts\n AND ds.tracking_code = t.tracking_code\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(trades) AS trades_total,\n SUM(volume) AS volume_total\n FROM\n complete_data\n GROUP BY\n 1\n)\nSELECT\n complete_data.ts,\n tracking_code,\n exchange_fees,\n exchange_fees_total,\n volume,\n volume_total,\n trades,\n trades_total,\n traders,\n CASE\n WHEN volume_total = 0 THEN 0\n ELSE complete_data.volume / volume_total\n END AS volume_share,\n CASE\n WHEN trades_total = 0 THEN 0\n ELSE trades / trades_total\n END AS trades_share,\n CASE\n WHEN exchange_fees_total = 0 THEN 0\n ELSE exchange_fees / exchange_fees_total\n END AS exchange_fees_share,\n SUM(exchange_fees) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_exchange_fees,\n SUM(volume) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_volume,\n SUM(trades) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_trades\nFROM\n complete_data\n JOIN total\n ON complete_data.ts = total.ts", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_integrator_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_integrator_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_integrator_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_integrator_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_integrator_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_integrator_hourly_optimism_mainnet"], "alias": "fct_v2_integrator_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "b98bc6a770836f311623fd03b140173bf0fd412a5c89c3fb5e3dd88c49f2dc2c"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_total": {"name": "exchange_fees_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume_total": {"name": "volume_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "trades_total": {"name": "trades_total", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "traders": {"name": "traders", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "volume_share": {"name": "volume_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_share": {"name": "trades_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees_share": {"name": "exchange_fees_share", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0315275, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_integrator_hourly_optimism_mainnet\"", "raw_code": "WITH aggregated_data AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n {{ ref('fct_v2_market_stats_optimism_mainnet') }}\n GROUP BY\n 1,\n 2\n),\ndate_series AS (\n SELECT\n q.ts,\n q2.tracking_code\n FROM\n (\n SELECT\n generate_series(MIN(DATE_TRUNC('hour', ts)), MAX(DATE_TRUNC('hour', ts)), '1 hour' :: INTERVAL) AS ts\n FROM\n aggregated_data\n ) AS q\n CROSS JOIN (\n SELECT\n DISTINCT tracking_code\n FROM\n aggregated_data\n ) AS q2\n),\ntraders AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(COUNT(DISTINCT account), 0) AS traders\n FROM\n date_series ds\n LEFT JOIN {{ ref('fct_v2_actions_optimism_mainnet') }}\n ad\n ON ds.ts = DATE_TRUNC(\n 'hour',\n ad.ts\n )\n AND ds.tracking_code = ad.tracking_code\n GROUP BY\n 1,\n 2\n),\ncomplete_data AS (\n SELECT\n ds.ts,\n ds.tracking_code,\n COALESCE(\n ad.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n ad.volume,\n 0\n ) AS volume,\n COALESCE(\n ad.trades,\n 0\n ) AS trades,\n t.traders\n FROM\n date_series ds\n LEFT JOIN aggregated_data ad\n ON ds.ts = ad.ts\n AND ds.tracking_code = ad.tracking_code\n LEFT JOIN traders t\n ON ds.ts = t.ts\n AND ds.tracking_code = t.tracking_code\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(trades) AS trades_total,\n SUM(volume) AS volume_total\n FROM\n complete_data\n GROUP BY\n 1\n)\nSELECT\n complete_data.ts,\n tracking_code,\n exchange_fees,\n exchange_fees_total,\n volume,\n volume_total,\n trades,\n trades_total,\n traders,\n CASE\n WHEN volume_total = 0 THEN 0\n ELSE complete_data.volume / volume_total\n END AS volume_share,\n CASE\n WHEN trades_total = 0 THEN 0\n ELSE trades / trades_total\n END AS trades_share,\n CASE\n WHEN exchange_fees_total = 0 THEN 0\n ELSE exchange_fees / exchange_fees_total\n END AS exchange_fees_share,\n SUM(exchange_fees) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_exchange_fees,\n SUM(volume) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_volume,\n SUM(trades) over (\n PARTITION BY tracking_code\n ORDER BY\n complete_data.ts\n ) AS cumulative_trades\nFROM\n complete_data\n JOIN total\n ON complete_data.ts = total.ts", "language": "sql", "refs": [{"name": "fct_v2_market_stats_optimism_mainnet", "package": null, "version": null}, {"name": "fct_v2_actions_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_stats_hourly_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_stats_hourly_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_stats_hourly_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_stats_hourly_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_stats_hourly_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_stats_hourly_optimism_mainnet"], "alias": "fct_v2_stats_hourly_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "ebf0b04de338543810c9e90b77aa4d1d313176d221dad94d57a06837e2b8a029"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "eth_btc_oi_usd": {"name": "eth_btc_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "alt_oi_usd": {"name": "alt_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0401418, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_stats_hourly_optimism_mainnet\"", "raw_code": "SELECT\n ts,\n SUM(\n exchange_fees\n ) AS exchange_fees,\n SUM(\n liquidation_fees\n ) AS liquidation_fees,\n SUM(\n volume\n ) AS volume,\n SUM(\n amount_liquidated\n ) AS amount_liquidated,\n SUM(\n trades\n ) AS trades,\n SUM(\n liquidations\n ) AS liquidations,\n SUM(\n long_oi_usd\n ) AS long_oi_usd,\n SUM(\n short_oi_usd\n ) AS short_oi_usd,\n SUM(\n total_oi_usd\n ) AS total_oi_usd,\n SUM(\n CASE\n WHEN market IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS eth_btc_oi_usd,\n SUM(\n CASE\n WHEN market NOT IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS alt_oi_usd,\n SUM(\n cumulative_exchange_fees\n ) AS cumulative_exchange_fees,\n SUM(\n cumulative_liquidation_fees\n ) AS cumulative_liquidation_fees,\n SUM(\n cumulative_volume\n ) AS cumulative_volume,\n SUM(\n cumulative_amount_liquidated\n ) AS cumulative_amount_liquidated,\n SUM(\n cumulative_trades\n ) AS cumulative_trades,\n SUM(\n cumulative_liquidations\n ) AS cumulative_liquidations\nFROM\n {{ ref('fct_v2_market_hourly_optimism_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_v2_market_hourly_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.fct_v2_stats_daily_optimism_mainnet": [{"database": "analytics", "schema": "prod_optimism_mainnet", "name": "fct_v2_stats_daily_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/optimism/mainnet/stats/fct_v2_stats_daily_optimism_mainnet.sql", "original_file_path": "models/marts/optimism/mainnet/stats/fct_v2_stats_daily_optimism_mainnet.sql", "unique_id": "model.synthetix.fct_v2_stats_daily_optimism_mainnet", "fqn": ["synthetix", "marts", "optimism", "mainnet", "stats", "fct_v2_stats_daily_optimism_mainnet"], "alias": "fct_v2_stats_daily_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "6598f1a96d78fe86afc3f72bf20314f8b7918bbc9279257722b6eef0c8fc08cb"}, "config": {"enabled": false, "alias": null, "schema": "optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_fees": {"name": "liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidations": {"name": "liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_usd": {"name": "long_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_usd": {"name": "short_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_oi_usd": {"name": "total_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "eth_btc_oi_usd": {"name": "eth_btc_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "alt_oi_usd": {"name": "alt_oi_usd", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidation_fees": {"name": "cumulative_liquidation_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_amount_liquidated": {"name": "cumulative_amount_liquidated", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_trades": {"name": "cumulative_trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_liquidations": {"name": "cumulative_liquidations", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "optimism_mainnet"}, "created_at": 1721335130.0387244, "relation_name": "\"analytics\".\"prod_optimism_mainnet\".\"fct_v2_stats_daily_optimism_mainnet\"", "raw_code": "SELECT\n ts,\n SUM(\n exchange_fees\n ) AS exchange_fees,\n SUM(\n liquidation_fees\n ) AS liquidation_fees,\n SUM(\n volume\n ) AS volume,\n SUM(\n amount_liquidated\n ) AS amount_liquidated,\n SUM(\n trades\n ) AS trades,\n SUM(\n liquidations\n ) AS liquidations,\n SUM(\n long_oi_usd\n ) AS long_oi_usd,\n SUM(\n short_oi_usd\n ) AS short_oi_usd,\n SUM(\n total_oi_usd\n ) AS total_oi_usd,\n SUM(\n CASE\n WHEN market IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS eth_btc_oi_usd,\n SUM(\n CASE\n WHEN market NOT IN (\n 'ETH',\n 'BTC'\n ) THEN total_oi_usd\n ELSE 0\n END\n ) AS alt_oi_usd,\n SUM(\n cumulative_exchange_fees\n ) AS cumulative_exchange_fees,\n SUM(\n cumulative_liquidation_fees\n ) AS cumulative_liquidation_fees,\n SUM(\n cumulative_volume\n ) AS cumulative_volume,\n SUM(\n cumulative_amount_liquidated\n ) AS cumulative_amount_liquidated,\n SUM(\n cumulative_trades\n ) AS cumulative_trades,\n SUM(\n cumulative_liquidations\n ) AS cumulative_liquidations\nFROM\n {{ ref('fct_v2_market_daily_optimism_mainnet') }}\nGROUP BY\n 1", "language": "sql", "refs": [{"name": "fct_v2_market_daily_optimism_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_margin_transferred_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_margin_transferred_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_margin_transferred_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_margin_transferred_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_margin_transferred_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_margin_transferred_optimism_mainnet"], "alias": "v2_perp_margin_transferred_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "4975ee2e34505f95b08338a7191ae333d6bd0cf57beb7b9d42ac49464b12ef81"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "margin_delta": {"name": "margin_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335131.0440552, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_margin_transferred_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'margin_transferred') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n {{ convert_wei('margin_delta') }} AS margin_delta\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_aave_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ada_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_algo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ankr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ape_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_apt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_arb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_atom_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_aud_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_avax_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_axs_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bal_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bch_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_blur_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bnb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_bonk_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_btc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_celo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_comp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_crv_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_cvx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_doge_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_dot_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_dydx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_enj_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eos_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_etc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_eur_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fet_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fil_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_floki_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_flow_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ftm_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_fxs_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_gbp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_gmx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_grt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_icp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_imx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_inj_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_jto_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_jup_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_knc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ldo_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_link_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ltc_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_matic_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_mav_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_meme_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_mkr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_near_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_one_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_op_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_ordi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pendle_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pepe_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_perp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_pyth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rndr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rpl_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_rune_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sei_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_shib_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sol_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_steth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_strk_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sui_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_sushi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_tia_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_trb_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_trx_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_uma_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_uni_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_usdt_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_wld_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xag_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xau_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xlm_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xmr_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xrp_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_xtz_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_yfi_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zec_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zil_event_margin_transferred"], ["raw_optimism_mainnet", "perps_v2_zrx_event_margin_transferred"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.synthetix.convert_wei", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_delayed_order_submitted_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_delayed_order_submitted_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_delayed_order_submitted_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_delayed_order_submitted_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_delayed_order_submitted_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_delayed_order_submitted_optimism_mainnet"], "alias": "v2_perp_delayed_order_submitted_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "2e5f430692a9df071f3ce28610cd0e8d58c884ed3a4bd11c18a8db083118ae9b"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_contract on {{ this }} (contract)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_account on {{ this }} (account)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "commit_deposit": {"name": "commit_deposit", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "keeper_deposit": {"name": "keeper_deposit", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "executable_at_time": {"name": "executable_at_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "intention_time": {"name": "intention_time", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "target_round_id": {"name": "target_round_id", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "is_offchain": {"name": "is_offchain", "description": "", "meta": {}, "data_type": "boolean", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_market on {{ this }} (market)", "create index if not exists idx_contract on {{ this }} (contract)", "create index if not exists idx_account on {{ this }} (account)"]}, "created_at": 1721335131.0413089, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_delayed_order_submitted_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_market on {{ this }} (market)\", \"create index if not exists idx_contract on {{ this }} (contract)\", \"create index if not exists idx_account on {{ this }} (account)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'delayed_order_submitted') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n commit_deposit,\n keeper_deposit,\n executable_at_time,\n intention_time,\n target_round_id,\n is_offchain,\n size_delta,\n tracking_code\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_aave_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ada_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_algo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ankr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ape_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_apt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_arb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_atom_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_aud_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_avax_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_axs_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bal_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bch_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_blur_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bnb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_bonk_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_btc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_celo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_comp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_crv_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_cvx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_doge_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_dot_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_dydx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_enj_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eos_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_etc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_eur_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fet_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fil_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_floki_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_flow_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ftm_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_fxs_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_gbp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_gmx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_grt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_icp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_imx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_jto_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_jup_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_link_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_near_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_one_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_op_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_ordi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pendle_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_rune_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sei_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_shib_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sol_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_steth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_strk_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sui_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_sushi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_tia_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_trb_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_trx_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_uma_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_uni_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_usdt_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_wld_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xag_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xau_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xlm_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xmr_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xrp_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_xtz_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_yfi_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zec_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zil_event_delayed_order_submitted"], ["raw_optimism_mainnet", "perps_v2_zrx_event_delayed_order_submitted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_position_liquidated_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_position_liquidated_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_position_liquidated_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_position_liquidated_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_position_liquidated_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_position_liquidated_optimism_mainnet"], "alias": "v2_perp_position_liquidated_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "2bf1ba9763f267bd06922fce1a52e21e19ae8502e2ebadf466d216bc564e3cb0"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "liquidator": {"name": "liquidator", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "stakers_fee": {"name": "stakers_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidator_fee": {"name": "liquidator_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "flagger_fee": {"name": "flagger_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fee": {"name": "total_fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335131.0469866, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_position_liquidated_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH legacy_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_liquidated1') }}),\ncurrent_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_liquidated0') }})\nSELECT\n id,\n transaction_hash,\n block_number,\n block_timestamp,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n liquidator,\n stakers_fee,\n liquidator_fee,\n flagger_fee,\n stakers_fee + liquidator_fee + flagger_fee AS total_fee,\n price\nFROM\n current_events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n UNION ALL\n SELECT\n id,\n transaction_hash,\n block_number,\n block_timestamp,\n contract,\n UPPER(market) AS market,\n event_name,\n account,\n liquidator,\n fee AS stakers_fee,\n 0 AS liquidator_fee,\n 0 AS flagger_fee,\n fee AS total_fee,\n price\n FROM\n legacy_events\n WHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_link_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_near_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_one_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_op_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated1"], ["raw_optimism_mainnet", "perps_v21_inch_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_link_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_near_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_one_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_op_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_liquidated0"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_liquidated0"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_position_modified_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_position_modified_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_position_modified_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_position_modified_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_position_modified_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_position_modified_optimism_mainnet"], "alias": "v2_perp_position_modified_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "b660e3f61faa37f2c918d5f1046f078b573247ff415a6e5085da653509791ce0"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_contract on {{ this }} (contract)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_account on {{ this }} (account)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account": {"name": "account", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "funding_index": {"name": "funding_index", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "last_price": {"name": "last_price", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "margin": {"name": "margin", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fee": {"name": "fee", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_market on {{ this }} (market)", "create index if not exists idx_contract on {{ this }} (contract)", "create index if not exists idx_account on {{ this }} (account)"]}, "created_at": 1721335131.0489407, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_position_modified_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_market on {{ this }} (market)\", \"create index if not exists idx_contract on {{ this }} (contract)\", \"create index if not exists idx_account on {{ this }} (account)\" ]\n) }}\n\nWITH legacy_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_modified1') }}),\ncurrent_events AS ({{ get_v2_event_data('optimism', 'mainnet', 'position_modified0') }})\nSELECT\n *\nFROM\n (\n SELECT\n id,\n transaction_hash,\n contract,\n block_timestamp,\n block_number,\n UPPER(market) AS market,\n event_name,\n account,\n funding_index,\n last_price,\n trade_size,\n \"size\",\n margin,\n fee,\n skew\n FROM\n current_events\n UNION ALL\n SELECT\n id,\n transaction_hash,\n contract,\n block_timestamp,\n block_number,\n UPPER(market) AS market,\n event_name,\n account,\n funding_index,\n last_price,\n trade_size,\n \"size\",\n margin,\n fee,\n NULL AS skew\n FROM\n legacy_events\n ) AS events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_link_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_near_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_one_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_op_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_modified1"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_modified1"], ["raw_optimism_mainnet", "perps_v21_inch_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_aave_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ada_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_algo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ankr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ape_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_apt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_arb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_atom_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_aud_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_avax_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_axs_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bal_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bch_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_blur_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bnb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_bonk_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_btc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_celo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_comp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_crv_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_cvx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_doge_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_dot_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_dydx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_enj_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eos_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_etc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_eur_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fet_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fil_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_floki_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_flow_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ftm_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_fxs_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_gbp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_gmx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_grt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_icp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_imx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_inj_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_jto_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_jup_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_knc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ldo_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_link_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ltc_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_matic_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_mav_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_meme_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_mkr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_near_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_one_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_op_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_ordi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pendle_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pepe_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_perp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_pyth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rndr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rpl_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_rune_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sei_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_shib_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sol_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_steth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_strk_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sui_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_sushi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_tia_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_trb_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_trx_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_uma_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_uni_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_usdt_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_wld_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xag_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xau_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xlm_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xmr_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xrp_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_xtz_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_yfi_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zec_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zil_event_position_modified0"], ["raw_optimism_mainnet", "perps_v2_zrx_event_position_modified0"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}], "model.synthetix.v2_perp_funding_recomputed_optimism_mainnet": [{"database": "analytics", "schema": "prod_raw_optimism_mainnet", "name": "v2_perp_funding_recomputed_optimism_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/optimism/mainnet/v2_perp_funding_recomputed_optimism_mainnet.sql", "original_file_path": "models/raw/optimism/mainnet/v2_perp_funding_recomputed_optimism_mainnet.sql", "unique_id": "model.synthetix.v2_perp_funding_recomputed_optimism_mainnet", "fqn": ["synthetix", "raw", "optimism", "mainnet", "v2_perp_funding_recomputed_optimism_mainnet"], "alias": "v2_perp_funding_recomputed_optimism_mainnet", "checksum": {"name": "sha256", "checksum": "01a9573ade58febdbba154d80868cde48e48fb4e5b5706146f572ddb30e97835"}, "config": {"enabled": false, "alias": null, "schema": "raw_optimism_mainnet", "database": null, "tags": ["optimism_mainnet"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": null, "persist_docs": {}, "post-hook": [{"sql": "create index if not exists idx_id on {{ this }} (id)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_block_number on {{ this }} (block_number)", "transaction": true, "index": null}, {"sql": "create index if not exists idx_market on {{ this }} (market)", "transaction": true, "index": null}], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "id", "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["optimism_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market": {"name": "market", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "index": {"name": "index", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding": {"name": "funding", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/optimism/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name == 'prod-op' }}", "tags": "optimism_mainnet", "schema": "raw_optimism_mainnet", "materialized": "incremental", "unique_key": "id", "post-hook": ["create index if not exists idx_id on {{ this }} (id)", "create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)", "create index if not exists idx_block_number on {{ this }} (block_number)", "create index if not exists idx_market on {{ this }} (market)"]}, "created_at": 1721335131.0431206, "relation_name": "\"analytics\".\"prod_raw_optimism_mainnet\".\"v2_perp_funding_recomputed_optimism_mainnet\"", "raw_code": "{{ config(\n materialized = 'incremental',\n unique_key = 'id',\n post_hook = [ \"create index if not exists idx_id on {{ this }} (id)\", \"create index if not exists idx_block_timestamp on {{ this }} (block_timestamp)\", \"create index if not exists idx_block_number on {{ this }} (block_number)\", \"create index if not exists idx_market on {{ this }} (market)\" ]\n) }}\n\nWITH events AS ({{ get_v2_event_data('optimism', 'mainnet', 'funding_recomputed') }})\nSELECT\n id,\n transaction_hash,\n block_timestamp,\n block_number,\n contract,\n UPPER(market) AS market,\n event_name,\n INDEX,\n funding,\n funding_rate\nFROM\n events\nWHERE\n\n{% if is_incremental() %}\nblock_number > (\n SELECT\n COALESCE(MAX(block_number), 0)\n FROM\n {{ this }})\n {% else %}\n TRUE\n {% endif %}\n ORDER BY\n id", "language": "sql", "refs": [], "sources": [["raw_optimism_mainnet", "perps_v21_inch_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_aave_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ada_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_algo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ankr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ape_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_apt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_arb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_atom_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_aud_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_avax_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_axs_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bal_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bch_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_blur_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bnb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_bonk_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_btc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_celo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_comp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_crv_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_cvx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_doge_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_dot_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_dydx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_enj_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eos_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_etc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ethbtc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_eur_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fet_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fil_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_floki_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_flow_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ftm_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_fxs_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_gbp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_gmx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_grt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_icp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_imx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_inj_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_jto_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_jup_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_knc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ldo_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_link_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ltc_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_matic_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_mav_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_meme_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_mkr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_near_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_one_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_op_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_ordi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pendle_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pepe_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_perp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_pyth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rndr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rpl_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_rune_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sei_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_shib_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sol_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_steth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_stetheth_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_strk_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sui_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_sushi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_tia_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_trb_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_trx_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_uma_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_uni_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_usdt_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_wld_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xag_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xau_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xlm_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xmr_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xrp_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_xtz_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_yfi_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zec_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zil_event_funding_recomputed"], ["raw_optimism_mainnet", "perps_v2_zrx_event_funding_recomputed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_v2_event_data", "macro.dbt.is_incremental"], "nodes": []}, "compiled_path": null, "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}]}, "parent_map": {"model.synthetix.fct_prices_hourly_arbitrum_sepolia": ["model.synthetix.fct_prices_arbitrum_sepolia"], "model.synthetix.fct_prices_arbitrum_sepolia": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_tokens"], "model.synthetix.fct_core_apr_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_arbitrum_sepolia"], "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "model.synthetix.fct_core_market_updated_arbitrum_sepolia": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_arbitrum_sepolia": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia", "seed.synthetix.arbitrum_sepolia_reward_distributors"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_debt_arbitrum_sepolia": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_issuance_arbitrum_sepolia": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia"], "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pools_arbitrum_sepolia": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "model.synthetix.fct_synth_supply_arbitrum_sepolia": ["model.synthetix.core_usd_burned_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia", "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "model.synthetix.fct_spot_wrapper_arbitrum_sepolia"], "model.synthetix.fct_spot_atomics_arbitrum_sepolia": ["model.synthetix.spot_synth_bought_arbitrum_sepolia", "model.synthetix.spot_synth_sold_arbitrum_sepolia"], "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "model.synthetix.fct_spot_markets_arbitrum_sepolia": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "model.synthetix.fct_prices_hourly_arbitrum_mainnet": ["model.synthetix.fct_prices_arbitrum_mainnet"], "model.synthetix.fct_prices_arbitrum_mainnet": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_tokens"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_arbitrum_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_debt_arbitrum_mainnet": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "model.synthetix.fct_core_pools_arbitrum_mainnet": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_arbitrum_mainnet": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet", "seed.synthetix.arbitrum_mainnet_reward_distributors"], "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_apr_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": ["model.synthetix.core_deposited_arbitrum_mainnet", "model.synthetix.core_withdrawn_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_arbitrum_mainnet": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet"], "model.synthetix.fct_synth_supply_arbitrum_mainnet": ["model.synthetix.core_usd_burned_arbitrum_mainnet", "model.synthetix.core_usd_minted_arbitrum_mainnet", "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"], "model.synthetix.fct_spot_atomics_arbitrum_mainnet": ["model.synthetix.spot_synth_bought_arbitrum_mainnet", "model.synthetix.spot_synth_sold_arbitrum_mainnet"], "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "model.synthetix.fct_spot_markets_arbitrum_mainnet": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "model.synthetix.fct_buyback_daily_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "model.synthetix.fct_buyback_hourly_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "model.synthetix.fct_buyback_base_sepolia": ["model.synthetix.buyback_processed_base_sepolia"], "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_account_stats_daily_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_account_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": ["model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_market_stats_daily_base_sepolia": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": ["model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_stats_daily_base_sepolia": ["model.synthetix.fct_perp_stats_hourly_base_sepolia"], "model.synthetix.fct_prices_base_sepolia": ["model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_buyback_base_sepolia", "model.synthetix.fct_perp_market_history_base_sepolia", "seed.synthetix.base_sepolia_tokens"], "model.synthetix.fct_prices_hourly_base_sepolia": ["model.synthetix.fct_prices_base_sepolia"], "model.synthetix.fct_perp_accounts_base_sepolia": ["model.synthetix.perp_account_created_base_sepolia"], "model.synthetix.fct_perp_trades_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_order_settled_base_sepolia"], "model.synthetix.fct_perp_liq_position_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_position_liquidated_base_sepolia"], "model.synthetix.fct_perp_collateral_modified_base_sepolia": ["model.synthetix.perp_collateral_modified_base_sepolia"], "model.synthetix.fct_perp_orders_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_order_committed_base_sepolia"], "model.synthetix.fct_perp_pnl_base_sepolia": ["model.synthetix.core_vault_debt_base_sepolia"], "model.synthetix.fct_perp_market_history_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia", "model.synthetix.perp_market_updated_base_sepolia"], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "model.synthetix.fct_perp_interest_charged_base_sepolia": ["model.synthetix.perp_interest_charged_base_sepolia"], "model.synthetix.fct_perp_markets_base_sepolia": ["model.synthetix.perp_market_created_base_sepolia"], "model.synthetix.fct_perp_previous_order_expired_base_sepolia": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "model.synthetix.fct_pool_pnl_hourly_base_sepolia": ["model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "model.synthetix.fct_pool_issuance_base_sepolia": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_rewards_base_sepolia", "model.synthetix.fct_prices_hourly_base_sepolia"], "model.synthetix.fct_core_apr_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_pool_rewards_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_core_apr_rewards_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"], "model.synthetix.fct_core_pool_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_core_account_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_core_market_updated_base_sepolia": ["model.synthetix.core_market_updated_base_sepolia"], "model.synthetix.fct_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_base_sepolia"], "model.synthetix.fct_core_pool_collateral_base_sepolia": ["model.synthetix.core_deposited_base_sepolia", "model.synthetix.core_withdrawn_base_sepolia"], "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_pool_debt_base_sepolia": ["model.synthetix.core_vault_debt_base_sepolia"], "model.synthetix.fct_core_pools_base_sepolia": ["model.synthetix.core_pool_created_base_sepolia"], "model.synthetix.fct_pool_rewards_base_sepolia": ["model.synthetix.core_rewards_distributed_base_sepolia", "seed.synthetix.base_sepolia_reward_distributors"], "model.synthetix.fct_spot_wrapper_base_sepolia": ["model.synthetix.spot_synth_unwrapped_base_sepolia", "model.synthetix.spot_synth_wrapped_base_sepolia"], "model.synthetix.fct_spot_markets_base_sepolia": ["model.synthetix.spot_synth_registered_base_sepolia"], "model.synthetix.fct_spot_atomics_base_sepolia": ["model.synthetix.spot_synth_bought_base_sepolia", "model.synthetix.spot_synth_sold_base_sepolia"], "model.synthetix.fct_synth_supply_base_sepolia": ["model.synthetix.core_usd_burned_base_sepolia", "model.synthetix.core_usd_minted_base_sepolia", "model.synthetix.fct_spot_atomics_base_sepolia", "model.synthetix.fct_spot_wrapper_base_sepolia"], "model.synthetix.fct_buyback_hourly_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "model.synthetix.fct_buyback_base_mainnet": ["model.synthetix.buyback_processed_base_mainnet"], "model.synthetix.fct_buyback_daily_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_market_stats_daily_base_mainnet": ["model.synthetix.fct_perp_market_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": ["model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_stats_daily_base_mainnet": ["model.synthetix.fct_perp_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": ["model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_account_stats_daily_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_account_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_prices_hourly_base_mainnet": ["model.synthetix.fct_prices_base_mainnet"], "model.synthetix.fct_prices_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_buyback_base_mainnet", "model.synthetix.fct_perp_market_history_base_mainnet", "seed.synthetix.base_mainnet_tokens"], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "model.synthetix.fct_perp_liq_position_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_position_liquidated_base_mainnet"], "model.synthetix.fct_perp_trades_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_order_settled_base_mainnet"], "model.synthetix.fct_perp_markets_base_mainnet": ["model.synthetix.perp_market_created_base_mainnet"], "model.synthetix.fct_perp_collateral_modified_base_mainnet": ["model.synthetix.perp_collateral_modified_base_mainnet"], "model.synthetix.fct_perp_liq_account_base_mainnet": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "model.synthetix.fct_perp_interest_charged_base_mainnet": ["model.synthetix.perp_interest_charged_base_mainnet"], "model.synthetix.fct_perp_market_history_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_market_updated_base_mainnet"], "model.synthetix.fct_perp_accounts_base_mainnet": ["model.synthetix.perp_account_created_base_mainnet"], "model.synthetix.fct_perp_orders_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_order_committed_base_mainnet"], "model.synthetix.fct_perp_pnl_base_mainnet": ["model.synthetix.core_vault_debt_base_mainnet"], "model.synthetix.fct_core_vault_collateral_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet"], "model.synthetix.fct_core_apr_rewards_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_rewards_base_mainnet", "model.synthetix.fct_prices_hourly_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "model.synthetix.fct_pool_debt_base_mainnet": ["model.synthetix.core_vault_debt_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_pool_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_base_mainnet"], "model.synthetix.fct_core_apr_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_core_pool_collateral_base_mainnet": ["model.synthetix.core_deposited_base_mainnet", "model.synthetix.core_withdrawn_base_mainnet"], "model.synthetix.fct_core_pool_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_pool_issuance_base_mainnet": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet"], "model.synthetix.fct_core_account_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_pool_rewards_base_mainnet": ["model.synthetix.core_rewards_distributed_base_mainnet", "seed.synthetix.base_mainnet_reward_distributors"], "model.synthetix.fct_core_pools_base_mainnet": ["model.synthetix.core_pool_created_base_mainnet"], "model.synthetix.fct_core_market_updated_base_mainnet": ["model.synthetix.core_market_updated_base_mainnet"], "model.synthetix.fct_synth_supply_base_mainnet": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet", "model.synthetix.fct_spot_atomics_base_mainnet", "model.synthetix.fct_spot_wrapper_base_mainnet"], "model.synthetix.fct_spot_wrapper_base_mainnet": ["model.synthetix.spot_synth_unwrapped_base_mainnet", "model.synthetix.spot_synth_wrapped_base_mainnet"], "model.synthetix.fct_spot_markets_base_mainnet": ["model.synthetix.spot_synth_registered_base_mainnet"], "model.synthetix.fct_spot_atomics_base_mainnet": ["model.synthetix.spot_synth_bought_base_mainnet", "model.synthetix.spot_synth_sold_base_mainnet"], "model.synthetix.blocks_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.block", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"], "model.synthetix.core_delegation_updated_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["model.synthetix.blocks_arbitrum_sepolia", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"], "model.synthetix.core_usd_minted_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"], "model.synthetix.core_deposited_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"], "model.synthetix.core_usd_burned_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"], "model.synthetix.core_vault_debt_arbitrum_sepolia": ["model.synthetix.blocks_arbitrum_sepolia", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"], "model.synthetix.core_account_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"], "model.synthetix.core_market_updated_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"], "model.synthetix.core_vault_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.core_rewards_distributed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_pool_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"], "model.synthetix.core_market_registered_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_withdrawn_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"], "model.synthetix.core_rewards_claimed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.spot_synth_sold_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_bought_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_cancelled_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_registered_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_settled_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_order_committed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"], "model.synthetix.blocks_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"], "model.synthetix.core_usd_burned_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_market_updated_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"], "model.synthetix.core_market_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_vault_debt_arbitrum_mainnet": ["model.synthetix.blocks_arbitrum_mainnet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"], "model.synthetix.core_vault_collateral_arbitrum_mainnet": ["model.synthetix.blocks_arbitrum_mainnet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"], "model.synthetix.core_account_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"], "model.synthetix.core_pool_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_delegation_updated_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.core_usd_minted_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"], "model.synthetix.core_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_rewards_claimed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_deposited_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"], "model.synthetix.core_rewards_distributed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_withdrawn_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_vault_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.spot_synth_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_synth_bought_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_settled_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_sold_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_order_committed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"], "model.synthetix.spot_order_cancelled_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.blocks_base_sepolia": ["source.synthetix.raw_base_sepolia.block", "source.synthetix.raw_base_sepolia.blocks_parquet"], "model.synthetix.buyback_processed_base_sepolia": ["source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"], "model.synthetix.perp_order_settled_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"], "model.synthetix.perp_interest_charged_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"], "model.synthetix.perp_account_created_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"], "model.synthetix.perp_collateral_modified_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"], "model.synthetix.perp_market_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated"], "model.synthetix.perp_account_liquidation_attempt_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"], "model.synthetix.perp_position_liquidated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_order_committed_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed"], "model.synthetix.perp_previous_order_expired_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"], "model.synthetix.perp_interest_rate_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"], "model.synthetix.perp_market_created_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"], "model.synthetix.core_usd_burned_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"], "model.synthetix.core_withdrawn_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"], "model.synthetix.core_rewards_distributed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_account_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_account_created"], "model.synthetix.core_delegation_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"], "model.synthetix.core_rewards_claimed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"], "model.synthetix.core_pool_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"], "model.synthetix.core_usd_minted_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"], "model.synthetix.core_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_vault_debt_base_sepolia": ["model.synthetix.blocks_base_sepolia", "source.synthetix.raw_base_sepolia.core_get_vault_debt"], "model.synthetix.core_market_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_market_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn"], "model.synthetix.core_vault_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.core_deposited_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_deposited"], "model.synthetix.core_vault_collateral_base_sepolia": ["model.synthetix.blocks_base_sepolia", "source.synthetix.raw_base_sepolia.core_get_vault_collateral"], "model.synthetix.spot_synth_wrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_bought_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_synth_sold_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_order_cancelled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_unwrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_order_committed_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"], "model.synthetix.spot_order_settled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"], "model.synthetix.blocks_base_mainnet": ["source.synthetix.raw_base_mainnet.block", "source.synthetix.raw_base_mainnet.blocks_parquet"], "model.synthetix.buyback_processed_base_mainnet": ["source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed"], "model.synthetix.perp_interest_charged_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"], "model.synthetix.perp_market_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"], "model.synthetix.perp_market_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated"], "model.synthetix.perp_position_liquidated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_account_liquidation_attempt_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"], "model.synthetix.perp_previous_order_expired_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"], "model.synthetix.perp_interest_rate_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"], "model.synthetix.perp_order_committed_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed"], "model.synthetix.perp_collateral_modified_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"], "model.synthetix.perp_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"], "model.synthetix.perp_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"], "model.synthetix.core_withdrawn_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_market_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_delegation_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.core_deposited_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_deposited"], "model.synthetix.core_vault_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.core_rewards_claimed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_market_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn"], "model.synthetix.core_usd_burned_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_pool_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_vault_collateral_base_mainnet": ["model.synthetix.blocks_base_mainnet", "source.synthetix.raw_base_mainnet.core_get_vault_collateral"], "model.synthetix.core_rewards_distributed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_usd_minted_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"], "model.synthetix.core_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_account_created"], "model.synthetix.core_vault_debt_base_mainnet": ["model.synthetix.blocks_base_mainnet", "source.synthetix.raw_base_mainnet.core_get_vault_debt"], "model.synthetix.spot_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"], "model.synthetix.spot_order_committed_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"], "model.synthetix.spot_order_cancelled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_sold_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_wrapped_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_bought_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_synth_unwrapped_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"], "seed.synthetix.arbitrum_sepolia_tokens": [], "seed.synthetix.base_mainnet_tokens": [], "seed.synthetix.base_sepolia_tokens": [], "seed.synthetix.arbitrum_mainnet_tokens": [], "seed.synthetix.arbitrum_sepolia_reward_distributors": [], "seed.synthetix.arbitrum_mainnet_reward_distributors": [], "seed.synthetix.base_sepolia_reward_distributors": [], "seed.synthetix.base_mainnet_reward_distributors": [], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": ["seed.synthetix.arbitrum_mainnet_reward_distributors"], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": ["seed.synthetix.arbitrum_mainnet_reward_distributors"], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": ["seed.synthetix.arbitrum_sepolia_reward_distributors"], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": ["seed.synthetix.arbitrum_sepolia_reward_distributors"], "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": ["seed.synthetix.base_mainnet_reward_distributors"], "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": ["seed.synthetix.base_mainnet_reward_distributors"], "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": ["seed.synthetix.base_sepolia_reward_distributors"], "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": ["seed.synthetix.base_sepolia_reward_distributors"], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": ["seed.synthetix.arbitrum_mainnet_tokens"], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": ["seed.synthetix.arbitrum_mainnet_tokens"], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": ["seed.synthetix.arbitrum_sepolia_tokens"], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": ["seed.synthetix.arbitrum_sepolia_tokens"], "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": ["seed.synthetix.base_mainnet_tokens"], "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": ["seed.synthetix.base_mainnet_tokens"], "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": ["seed.synthetix.base_sepolia_tokens"], "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": ["seed.synthetix.base_sepolia_tokens"], "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": ["model.synthetix.blocks_arbitrum_sepolia"], "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": ["model.synthetix.blocks_arbitrum_sepolia"], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": ["model.synthetix.core_account_created_arbitrum_sepolia"], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": ["model.synthetix.core_deposited_arbitrum_sepolia"], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": ["model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": ["model.synthetix.blocks_arbitrum_mainnet"], "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": ["model.synthetix.blocks_arbitrum_mainnet"], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": ["model.synthetix.core_account_created_arbitrum_mainnet"], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": ["model.synthetix.core_deposited_arbitrum_mainnet"], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet"], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": ["model.synthetix.blocks_base_sepolia"], "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": ["model.synthetix.blocks_base_sepolia"], "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": ["model.synthetix.perp_account_created_base_sepolia"], "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": ["model.synthetix.perp_order_committed_base_sepolia"], "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": ["model.synthetix.perp_order_settled_base_sepolia"], "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": ["model.synthetix.perp_market_updated_base_sepolia"], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": ["model.synthetix.perp_position_liquidated_base_sepolia"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": ["model.synthetix.perp_collateral_modified_base_sepolia"], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": ["model.synthetix.core_account_created_base_sepolia"], "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": ["model.synthetix.core_delegation_updated_base_sepolia"], "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": ["model.synthetix.core_deposited_base_sepolia"], "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": ["model.synthetix.core_withdrawn_base_sepolia"], "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": ["model.synthetix.core_liquidation_base_sepolia"], "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": ["model.synthetix.core_market_updated_base_sepolia"], "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": ["model.synthetix.core_market_registered_base_sepolia"], "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": ["model.synthetix.core_pool_created_base_sepolia"], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": ["model.synthetix.core_rewards_claimed_base_sepolia"], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": ["model.synthetix.core_rewards_distributed_base_sepolia"], "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": ["model.synthetix.core_usd_burned_base_sepolia"], "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": ["model.synthetix.core_usd_minted_base_sepolia"], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": ["model.synthetix.core_vault_liquidation_base_sepolia"], "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": ["model.synthetix.spot_order_committed_base_sepolia"], "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": ["model.synthetix.spot_order_settled_base_sepolia"], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": ["model.synthetix.spot_order_cancelled_base_sepolia"], "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": ["model.synthetix.spot_synth_registered_base_sepolia"], "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": ["model.synthetix.spot_synth_bought_base_sepolia"], "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": ["model.synthetix.spot_synth_sold_base_sepolia"], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": ["model.synthetix.blocks_base_mainnet"], "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": ["model.synthetix.blocks_base_mainnet"], "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": ["model.synthetix.perp_account_created_base_mainnet"], "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": ["model.synthetix.perp_order_committed_base_mainnet"], "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": ["model.synthetix.perp_order_settled_base_mainnet"], "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": ["model.synthetix.perp_market_updated_base_mainnet"], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": ["model.synthetix.perp_position_liquidated_base_mainnet"], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": ["model.synthetix.perp_collateral_modified_base_mainnet"], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": ["model.synthetix.core_account_created_base_mainnet"], "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": ["model.synthetix.core_delegation_updated_base_mainnet"], "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": ["model.synthetix.core_deposited_base_mainnet"], "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": ["model.synthetix.core_withdrawn_base_mainnet"], "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": ["model.synthetix.core_liquidation_base_mainnet"], "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": ["model.synthetix.core_market_updated_base_mainnet"], "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": ["model.synthetix.core_market_registered_base_mainnet"], "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": ["model.synthetix.core_pool_created_base_mainnet"], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": ["model.synthetix.core_rewards_claimed_base_mainnet"], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": ["model.synthetix.core_rewards_distributed_base_mainnet"], "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": ["model.synthetix.core_usd_burned_base_mainnet"], "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": ["model.synthetix.core_usd_minted_base_mainnet"], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": ["model.synthetix.core_vault_liquidation_base_mainnet"], "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": ["model.synthetix.spot_order_committed_base_mainnet"], "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": ["model.synthetix.spot_order_settled_base_mainnet"], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": ["model.synthetix.spot_order_cancelled_base_mainnet"], "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": ["model.synthetix.spot_synth_registered_base_mainnet"], "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": ["model.synthetix.spot_synth_bought_base_mainnet"], "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": ["model.synthetix.spot_synth_sold_base_mainnet"], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "source.synthetix.raw_base_sepolia.block": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": [], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": [], "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": [], "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": [], "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": [], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": [], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": [], "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": [], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": [], "source.synthetix.raw_base_sepolia.core_get_vault_collateral": [], "source.synthetix.raw_base_sepolia.core_get_vault_debt": [], "source.synthetix.raw_base_sepolia.blocks_parquet": [], "source.synthetix.raw_arbitrum_sepolia.block": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": [], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": [], "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": [], "source.synthetix.raw_arbitrum_mainnet.block": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": [], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": [], "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": [], "source.synthetix.raw_base_mainnet.block": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": [], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": [], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": [], "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": [], "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": [], "source.synthetix.raw_base_mainnet.core_get_vault_collateral": [], "source.synthetix.raw_base_mainnet.core_get_vault_debt": [], "source.synthetix.raw_base_mainnet.blocks_parquet": [], "source.synthetix.raw_optimism_mainnet.block": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": []}, "child_map": {"model.synthetix.fct_prices_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_prices_arbitrum_sepolia": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_apr_arbitrum_sepolia": [], "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": [], "model.synthetix.fct_core_market_updated_arbitrum_sepolia": [], "model.synthetix.fct_pool_rewards_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": ["model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_debt_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": [], "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": ["model.synthetix.fct_core_apr_arbitrum_sepolia", "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "model.synthetix.fct_pool_issuance_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": [], "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pools_arbitrum_sepolia": [], "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": [], "model.synthetix.fct_synth_supply_arbitrum_sepolia": [], "model.synthetix.fct_spot_atomics_arbitrum_sepolia": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "model.synthetix.fct_spot_markets_arbitrum_sepolia": [], "model.synthetix.fct_prices_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_prices_arbitrum_mainnet": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": ["model.synthetix.fct_core_apr_rewards_arbitrum_mainnet"], "model.synthetix.fct_pool_debt_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pools_arbitrum_mainnet": [], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": [], "model.synthetix.fct_pool_rewards_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": [], "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": [], "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": ["model.synthetix.fct_core_apr_arbitrum_mainnet", "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "model.synthetix.fct_core_apr_arbitrum_mainnet": [], "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": [], "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": [], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_issuance_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"], "model.synthetix.fct_synth_supply_arbitrum_mainnet": [], "model.synthetix.fct_spot_atomics_arbitrum_mainnet": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"], "model.synthetix.fct_spot_markets_arbitrum_mainnet": [], "model.synthetix.fct_buyback_daily_base_sepolia": [], "model.synthetix.fct_buyback_hourly_base_sepolia": [], "model.synthetix.fct_buyback_base_sepolia": ["model.synthetix.fct_buyback_daily_base_sepolia", "model.synthetix.fct_buyback_hourly_base_sepolia", "model.synthetix.fct_prices_base_sepolia"], "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_account_stats_daily_base_sepolia"], "model.synthetix.fct_perp_account_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_stats_daily_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_market_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_keeper_stats_daily_base_sepolia"], "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_tracking_stats_daily_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_market_stats_daily_base_sepolia", "model.synthetix.fct_perp_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_stats_daily_base_sepolia": [], "model.synthetix.fct_prices_base_sepolia": ["model.synthetix.fct_prices_hourly_base_sepolia"], "model.synthetix.fct_prices_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_perp_accounts_base_sepolia": [], "model.synthetix.fct_perp_trades_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_liq_position_base_sepolia": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_collateral_modified_base_sepolia": [], "model.synthetix.fct_perp_orders_base_sepolia": [], "model.synthetix.fct_perp_pnl_base_sepolia": [], "model.synthetix.fct_perp_market_history_base_sepolia": ["model.synthetix.fct_prices_base_sepolia"], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.fct_perp_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_interest_charged_base_sepolia": [], "model.synthetix.fct_perp_markets_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "model.synthetix.fct_perp_market_history_base_sepolia", "model.synthetix.fct_perp_orders_base_sepolia", "model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_previous_order_expired_base_sepolia": [], "model.synthetix.fct_pool_pnl_hourly_base_sepolia": ["model.synthetix.fct_core_apr_base_sepolia", "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"], "model.synthetix.fct_pool_issuance_base_sepolia": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "model.synthetix.fct_core_apr_base_sepolia": [], "model.synthetix.fct_pool_rewards_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_core_apr_rewards_base_sepolia": [], "model.synthetix.fct_core_pool_delegation_base_sepolia": [], "model.synthetix.fct_core_account_delegation_base_sepolia": [], "model.synthetix.fct_core_market_updated_base_sepolia": [], "model.synthetix.fct_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_core_pool_collateral_base_sepolia": [], "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": ["model.synthetix.fct_core_apr_rewards_base_sepolia"], "model.synthetix.fct_pool_debt_base_sepolia": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia", "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_core_pools_base_sepolia": [], "model.synthetix.fct_pool_rewards_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_spot_wrapper_base_sepolia": ["model.synthetix.fct_synth_supply_base_sepolia"], "model.synthetix.fct_spot_markets_base_sepolia": [], "model.synthetix.fct_spot_atomics_base_sepolia": ["model.synthetix.fct_synth_supply_base_sepolia"], "model.synthetix.fct_synth_supply_base_sepolia": [], "model.synthetix.fct_buyback_hourly_base_mainnet": [], "model.synthetix.fct_buyback_base_mainnet": ["model.synthetix.fct_buyback_daily_base_mainnet", "model.synthetix.fct_buyback_hourly_base_mainnet", "model.synthetix.fct_prices_base_mainnet"], "model.synthetix.fct_buyback_daily_base_mainnet": [], "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_market_stats_daily_base_mainnet", "model.synthetix.fct_perp_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_market_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_account_stats_daily_base_mainnet"], "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_tracking_stats_daily_base_mainnet"], "model.synthetix.fct_perp_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_account_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_stats_daily_base_mainnet"], "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_keeper_stats_daily_base_mainnet"], "model.synthetix.fct_prices_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_prices_base_mainnet": ["model.synthetix.fct_prices_hourly_base_mainnet"], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": [], "model.synthetix.fct_perp_liq_position_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_trades_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_markets_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "model.synthetix.fct_perp_market_history_base_mainnet", "model.synthetix.fct_perp_orders_base_mainnet", "model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_collateral_modified_base_mainnet": [], "model.synthetix.fct_perp_liq_account_base_mainnet": ["model.synthetix.fct_perp_stats_hourly_base_mainnet"], "model.synthetix.fct_perp_interest_charged_base_mainnet": [], "model.synthetix.fct_perp_market_history_base_mainnet": ["model.synthetix.fct_prices_base_mainnet"], "model.synthetix.fct_perp_accounts_base_mainnet": [], "model.synthetix.fct_perp_orders_base_mainnet": [], "model.synthetix.fct_perp_pnl_base_mainnet": [], "model.synthetix.fct_core_vault_collateral_base_mainnet": [], "model.synthetix.fct_core_apr_rewards_base_mainnet": [], "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_base_mainnet": ["model.synthetix.fct_core_apr_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"], "model.synthetix.fct_pool_debt_base_mainnet": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": ["model.synthetix.fct_core_apr_rewards_base_mainnet"], "model.synthetix.fct_pool_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_core_apr_base_mainnet": [], "model.synthetix.fct_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_core_pool_collateral_base_mainnet": [], "model.synthetix.fct_core_pool_delegation_base_mainnet": [], "model.synthetix.fct_pool_issuance_base_mainnet": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "model.synthetix.fct_core_account_delegation_base_mainnet": [], "model.synthetix.fct_pool_rewards_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_core_pools_base_mainnet": [], "model.synthetix.fct_core_market_updated_base_mainnet": [], "model.synthetix.fct_synth_supply_base_mainnet": [], "model.synthetix.fct_spot_wrapper_base_mainnet": ["model.synthetix.fct_synth_supply_base_mainnet"], "model.synthetix.fct_spot_markets_base_mainnet": [], "model.synthetix.fct_spot_atomics_base_mainnet": ["model.synthetix.fct_synth_supply_base_mainnet"], "model.synthetix.blocks_arbitrum_sepolia": ["model.synthetix.core_vault_collateral_arbitrum_sepolia", "model.synthetix.core_vault_debt_arbitrum_sepolia", "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5"], "model.synthetix.core_delegation_updated_arbitrum_sepolia": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_prices_arbitrum_sepolia"], "model.synthetix.core_usd_minted_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363"], "model.synthetix.core_deposited_arbitrum_sepolia": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e"], "model.synthetix.core_usd_burned_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4"], "model.synthetix.core_vault_debt_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "model.synthetix.core_account_created_arbitrum_sepolia": ["test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee"], "model.synthetix.core_market_updated_arbitrum_sepolia": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d"], "model.synthetix.core_vault_liquidation_arbitrum_sepolia": ["test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad"], "model.synthetix.core_rewards_distributed_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb"], "model.synthetix.core_pool_created_arbitrum_sepolia": ["model.synthetix.fct_core_pools_arbitrum_sepolia", "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0"], "model.synthetix.core_market_registered_arbitrum_sepolia": ["test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3"], "model.synthetix.core_liquidation_arbitrum_sepolia": ["test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022"], "model.synthetix.core_withdrawn_arbitrum_sepolia": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510"], "model.synthetix.core_rewards_claimed_arbitrum_sepolia": ["test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553"], "model.synthetix.spot_synth_sold_arbitrum_sepolia": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64"], "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de"], "model.synthetix.spot_synth_bought_arbitrum_sepolia": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59"], "model.synthetix.spot_order_cancelled_arbitrum_sepolia": ["test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854"], "model.synthetix.spot_synth_registered_arbitrum_sepolia": ["model.synthetix.fct_spot_markets_arbitrum_sepolia", "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92"], "model.synthetix.spot_order_settled_arbitrum_sepolia": ["test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0"], "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8"], "model.synthetix.spot_order_committed_arbitrum_sepolia": ["test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21"], "model.synthetix.blocks_arbitrum_mainnet": ["model.synthetix.core_vault_collateral_arbitrum_mainnet", "model.synthetix.core_vault_debt_arbitrum_mainnet", "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923"], "model.synthetix.core_usd_burned_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf"], "model.synthetix.core_market_updated_arbitrum_mainnet": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622"], "model.synthetix.core_market_registered_arbitrum_mainnet": ["test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5"], "model.synthetix.core_vault_debt_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "model.synthetix.core_vault_collateral_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_prices_arbitrum_mainnet"], "model.synthetix.core_account_created_arbitrum_mainnet": ["test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85"], "model.synthetix.core_pool_created_arbitrum_mainnet": ["model.synthetix.fct_core_pools_arbitrum_mainnet", "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902"], "model.synthetix.core_delegation_updated_arbitrum_mainnet": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917"], "model.synthetix.core_usd_minted_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet", "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9"], "model.synthetix.core_liquidation_arbitrum_mainnet": ["test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33"], "model.synthetix.core_rewards_claimed_arbitrum_mainnet": ["test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9"], "model.synthetix.core_deposited_arbitrum_mainnet": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d"], "model.synthetix.core_rewards_distributed_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd"], "model.synthetix.core_withdrawn_arbitrum_mainnet": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d"], "model.synthetix.core_vault_liquidation_arbitrum_mainnet": ["test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375"], "model.synthetix.spot_synth_registered_arbitrum_mainnet": ["model.synthetix.fct_spot_markets_arbitrum_mainnet", "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba"], "model.synthetix.spot_synth_bought_arbitrum_mainnet": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e"], "model.synthetix.spot_order_settled_arbitrum_mainnet": ["test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f"], "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed"], "model.synthetix.spot_synth_sold_arbitrum_mainnet": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f"], "model.synthetix.spot_order_committed_arbitrum_mainnet": ["test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f"], "model.synthetix.spot_order_cancelled_arbitrum_mainnet": ["test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46"], "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1"], "model.synthetix.blocks_base_sepolia": ["model.synthetix.core_vault_collateral_base_sepolia", "model.synthetix.core_vault_debt_base_sepolia", "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b"], "model.synthetix.buyback_processed_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "model.synthetix.perp_order_settled_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia", "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1"], "model.synthetix.perp_interest_charged_base_sepolia": ["model.synthetix.fct_perp_interest_charged_base_sepolia"], "model.synthetix.perp_account_created_base_sepolia": ["model.synthetix.fct_perp_accounts_base_sepolia", "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315"], "model.synthetix.perp_collateral_modified_base_sepolia": ["model.synthetix.fct_perp_collateral_modified_base_sepolia", "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926"], "model.synthetix.perp_market_updated_base_sepolia": ["model.synthetix.fct_perp_market_history_base_sepolia", "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094"], "model.synthetix.perp_account_liquidation_attempt_base_sepolia": ["model.synthetix.fct_perp_liq_account_base_sepolia", "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b"], "model.synthetix.perp_position_liquidated_base_sepolia": ["model.synthetix.fct_perp_liq_position_base_sepolia", "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6"], "model.synthetix.perp_order_committed_base_sepolia": ["model.synthetix.fct_perp_orders_base_sepolia", "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af"], "model.synthetix.perp_previous_order_expired_base_sepolia": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7"], "model.synthetix.perp_interest_rate_updated_base_sepolia": [], "model.synthetix.perp_market_created_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia"], "model.synthetix.core_usd_burned_base_sepolia": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835"], "model.synthetix.core_withdrawn_base_sepolia": ["model.synthetix.fct_core_pool_collateral_base_sepolia", "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff"], "model.synthetix.core_rewards_distributed_base_sepolia": ["model.synthetix.fct_pool_rewards_base_sepolia", "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9"], "model.synthetix.core_account_created_base_sepolia": ["test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87"], "model.synthetix.core_delegation_updated_base_sepolia": ["model.synthetix.fct_core_account_delegation_base_sepolia", "model.synthetix.fct_core_pool_delegation_base_sepolia", "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a"], "model.synthetix.core_rewards_claimed_base_sepolia": ["test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb"], "model.synthetix.core_pool_created_base_sepolia": ["model.synthetix.fct_core_pools_base_sepolia", "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3"], "model.synthetix.core_usd_minted_base_sepolia": ["model.synthetix.fct_pool_issuance_base_sepolia", "model.synthetix.fct_synth_supply_base_sepolia", "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e"], "model.synthetix.core_liquidation_base_sepolia": ["test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c"], "model.synthetix.core_vault_debt_base_sepolia": ["model.synthetix.fct_perp_pnl_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia"], "model.synthetix.core_market_registered_base_sepolia": ["test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec"], "model.synthetix.core_market_updated_base_sepolia": ["model.synthetix.fct_core_market_updated_base_sepolia", "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77"], "model.synthetix.core_vault_liquidation_base_sepolia": ["test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5"], "model.synthetix.core_deposited_base_sepolia": ["model.synthetix.fct_core_pool_collateral_base_sepolia", "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da"], "model.synthetix.core_vault_collateral_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_prices_base_sepolia"], "model.synthetix.spot_synth_wrapped_base_sepolia": ["model.synthetix.fct_spot_wrapper_base_sepolia", "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a"], "model.synthetix.spot_synth_bought_base_sepolia": ["model.synthetix.fct_spot_atomics_base_sepolia", "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c"], "model.synthetix.spot_synth_sold_base_sepolia": ["model.synthetix.fct_spot_atomics_base_sepolia", "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f"], "model.synthetix.spot_order_cancelled_base_sepolia": ["test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64"], "model.synthetix.spot_synth_unwrapped_base_sepolia": ["model.synthetix.fct_spot_wrapper_base_sepolia", "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5"], "model.synthetix.spot_order_committed_base_sepolia": ["test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084"], "model.synthetix.spot_order_settled_base_sepolia": ["test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657"], "model.synthetix.spot_synth_registered_base_sepolia": ["model.synthetix.fct_spot_markets_base_sepolia", "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592"], "model.synthetix.blocks_base_mainnet": ["model.synthetix.core_vault_collateral_base_mainnet", "model.synthetix.core_vault_debt_base_mainnet", "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40"], "model.synthetix.buyback_processed_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "model.synthetix.perp_interest_charged_base_mainnet": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "model.synthetix.perp_market_created_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet"], "model.synthetix.perp_market_updated_base_mainnet": ["model.synthetix.fct_perp_market_history_base_mainnet", "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f"], "model.synthetix.perp_position_liquidated_base_mainnet": ["model.synthetix.fct_perp_liq_position_base_mainnet", "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143"], "model.synthetix.perp_account_liquidation_attempt_base_mainnet": ["model.synthetix.fct_perp_liq_account_base_mainnet", "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246"], "model.synthetix.perp_previous_order_expired_base_mainnet": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f"], "model.synthetix.perp_interest_rate_updated_base_mainnet": [], "model.synthetix.perp_order_committed_base_mainnet": ["model.synthetix.fct_perp_orders_base_mainnet", "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f"], "model.synthetix.perp_collateral_modified_base_mainnet": ["model.synthetix.fct_perp_collateral_modified_base_mainnet", "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794"], "model.synthetix.perp_order_settled_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet", "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b"], "model.synthetix.perp_account_created_base_mainnet": ["model.synthetix.fct_perp_accounts_base_mainnet", "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023"], "model.synthetix.core_withdrawn_base_mainnet": ["model.synthetix.fct_core_pool_collateral_base_mainnet", "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786"], "model.synthetix.core_market_registered_base_mainnet": ["test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb"], "model.synthetix.core_delegation_updated_base_mainnet": ["model.synthetix.fct_core_account_delegation_base_mainnet", "model.synthetix.fct_core_pool_delegation_base_mainnet", "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2"], "model.synthetix.core_deposited_base_mainnet": ["model.synthetix.fct_core_pool_collateral_base_mainnet", "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337"], "model.synthetix.core_vault_liquidation_base_mainnet": ["test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076"], "model.synthetix.core_rewards_claimed_base_mainnet": ["test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7"], "model.synthetix.core_liquidation_base_mainnet": ["test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff"], "model.synthetix.core_market_updated_base_mainnet": ["model.synthetix.fct_core_market_updated_base_mainnet", "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48"], "model.synthetix.core_usd_burned_base_mainnet": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682"], "model.synthetix.core_pool_created_base_mainnet": ["model.synthetix.fct_core_pools_base_mainnet", "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629"], "model.synthetix.core_vault_collateral_base_mainnet": ["model.synthetix.fct_core_vault_collateral_base_mainnet", "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_prices_base_mainnet"], "model.synthetix.core_rewards_distributed_base_mainnet": ["model.synthetix.fct_pool_rewards_base_mainnet", "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f"], "model.synthetix.core_usd_minted_base_mainnet": ["model.synthetix.fct_pool_issuance_base_mainnet", "model.synthetix.fct_synth_supply_base_mainnet", "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45"], "model.synthetix.core_account_created_base_mainnet": ["test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1"], "model.synthetix.core_vault_debt_base_mainnet": ["model.synthetix.fct_perp_pnl_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet"], "model.synthetix.spot_order_settled_base_mainnet": ["test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6"], "model.synthetix.spot_order_committed_base_mainnet": ["test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1"], "model.synthetix.spot_order_cancelled_base_mainnet": ["test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c"], "model.synthetix.spot_synth_sold_base_mainnet": ["model.synthetix.fct_spot_atomics_base_mainnet", "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a"], "model.synthetix.spot_synth_wrapped_base_mainnet": ["model.synthetix.fct_spot_wrapper_base_mainnet", "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae"], "model.synthetix.spot_synth_bought_base_mainnet": ["model.synthetix.fct_spot_atomics_base_mainnet", "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae"], "model.synthetix.spot_synth_unwrapped_base_mainnet": ["model.synthetix.fct_spot_wrapper_base_mainnet", "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b"], "model.synthetix.spot_synth_registered_base_mainnet": ["model.synthetix.fct_spot_markets_base_mainnet", "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d"], "seed.synthetix.arbitrum_sepolia_tokens": ["model.synthetix.fct_prices_arbitrum_sepolia", "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8"], "seed.synthetix.base_mainnet_tokens": ["model.synthetix.fct_prices_base_mainnet", "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576"], "seed.synthetix.base_sepolia_tokens": ["model.synthetix.fct_prices_base_sepolia", "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38"], "seed.synthetix.arbitrum_mainnet_tokens": ["model.synthetix.fct_prices_arbitrum_mainnet", "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e"], "seed.synthetix.arbitrum_sepolia_reward_distributors": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178"], "seed.synthetix.arbitrum_mainnet_reward_distributors": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e"], "seed.synthetix.base_sepolia_reward_distributors": ["model.synthetix.fct_pool_rewards_base_sepolia", "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c"], "seed.synthetix.base_mainnet_reward_distributors": ["model.synthetix.fct_pool_rewards_base_mainnet", "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc"], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": [], "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e": [], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6": [], "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178": [], "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0": [], "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc": [], "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c": [], "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c": [], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2": [], "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e": [], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1": [], "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8": [], "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2": [], "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576": [], "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef": [], "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38": [], "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893": [], "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5": [], "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea": [], "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85": [], "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010": [], "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3": [], "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e": [], "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b": [], "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510": [], "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1": [], "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022": [], "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4": [], "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d": [], "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2": [], "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3": [], "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861": [], "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b": [], "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a": [], "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb": [], "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478": [], "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4": [], "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b": [], "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0": [], "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad": [], "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585": [], "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21": [], "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef": [], "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154": [], "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918": [], "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417": [], "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126": [], "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4": [], "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78": [], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de": [], "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d": [], "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923": [], "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1": [], "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85": [], "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1": [], "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917": [], "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009": [], "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d": [], "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073": [], "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d": [], "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968": [], "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33": [], "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97": [], "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622": [], "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a": [], "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5": [], "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d": [], "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902": [], "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd": [], "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9": [], "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff": [], "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd": [], "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d": [], "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf": [], "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c": [], "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9": [], "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3": [], "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375": [], "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c": [], "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f": [], "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990": [], "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f": [], "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c": [], "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46": [], "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984": [], "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba": [], "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e": [], "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e": [], "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066": [], "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f": [], "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab": [], "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed": [], "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f": [], "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1": [], "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": [], "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": [], "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315": [], "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642": [], "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258": [], "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af": [], "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964": [], "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1": [], "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3": [], "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094": [], "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114": [], "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8": [], "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b": [], "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13": [], "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926": [], "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364": [], "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7": [], "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8": [], "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87": [], "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380": [], "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a": [], "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f": [], "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da": [], "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd": [], "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff": [], "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78": [], "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c": [], "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862": [], "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77": [], "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520": [], "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec": [], "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808": [], "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3": [], "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4": [], "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb": [], "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a": [], "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9": [], "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2": [], "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835": [], "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc": [], "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e": [], "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5": [], "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5": [], "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff": [], "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084": [], "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f": [], "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657": [], "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929": [], "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64": [], "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4": [], "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592": [], "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903": [], "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c": [], "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070": [], "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f": [], "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af": [], "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a": [], "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5": [], "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5": [], "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": [], "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": [], "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023": [], "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e": [], "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9": [], "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f": [], "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece": [], "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b": [], "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12": [], "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f": [], "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62": [], "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143": [], "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b": [], "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246": [], "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b": [], "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794": [], "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda": [], "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f": [], "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb": [], "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1": [], "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef": [], "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2": [], "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51": [], "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337": [], "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d": [], "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786": [], "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70": [], "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff": [], "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54": [], "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48": [], "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad": [], "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb": [], "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee": [], "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629": [], "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae": [], "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7": [], "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043": [], "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f": [], "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f": [], "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682": [], "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c": [], "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45": [], "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f": [], "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076": [], "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12": [], "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1": [], "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9": [], "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6": [], "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2": [], "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c": [], "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761": [], "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d": [], "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962": [], "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae": [], "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62": [], "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a": [], "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d": [], "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae": [], "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96": [], "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b": [], "source.synthetix.raw_base_sepolia.block": ["model.synthetix.blocks_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": ["model.synthetix.perp_account_created_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": ["model.synthetix.perp_collateral_modified_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": ["model.synthetix.perp_market_created_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": ["model.synthetix.perp_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": ["model.synthetix.perp_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": ["model.synthetix.perp_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": ["model.synthetix.perp_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": ["model.synthetix.perp_order_settled_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": ["model.synthetix.perp_position_liquidated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": ["model.synthetix.perp_interest_rate_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": ["model.synthetix.perp_interest_charged_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_base_sepolia"], "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": ["model.synthetix.core_account_created_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": ["model.synthetix.core_deposited_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_sepolia"], "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": ["model.synthetix.buyback_processed_base_sepolia"], "source.synthetix.raw_base_sepolia.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_base_sepolia"], "source.synthetix.raw_base_sepolia.core_get_vault_debt": ["model.synthetix.core_vault_debt_base_sepolia"], "source.synthetix.raw_base_sepolia.blocks_parquet": ["model.synthetix.blocks_base_sepolia"], "source.synthetix.raw_arbitrum_sepolia.block": ["model.synthetix.blocks_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": ["model.synthetix.core_account_created_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": ["model.synthetix.core_deposited_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": ["model.synthetix.core_vault_debt_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": ["model.synthetix.blocks_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_mainnet.block": ["model.synthetix.blocks_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": ["model.synthetix.core_account_created_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": ["model.synthetix.core_deposited_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_arbitrum_mainnet", "model.synthetix.core_rewards_claimed_arbitrum_sepolia"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": ["model.synthetix.core_vault_debt_arbitrum_mainnet"], "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": ["model.synthetix.blocks_arbitrum_mainnet"], "source.synthetix.raw_base_mainnet.block": ["model.synthetix.blocks_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": ["model.synthetix.perp_account_created_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": ["model.synthetix.perp_account_liquidation_attempt_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": ["model.synthetix.perp_collateral_modified_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": ["model.synthetix.perp_market_created_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": ["model.synthetix.perp_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": ["model.synthetix.perp_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": ["model.synthetix.perp_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": ["model.synthetix.perp_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": ["model.synthetix.perp_order_settled_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": ["model.synthetix.perp_position_liquidated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": ["model.synthetix.perp_interest_rate_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": ["model.synthetix.perp_interest_charged_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": ["model.synthetix.spot_order_committed_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": ["model.synthetix.spot_order_settled_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": ["model.synthetix.spot_order_cancelled_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": ["model.synthetix.spot_synth_registered_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": ["model.synthetix.spot_synth_bought_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": ["model.synthetix.spot_synth_sold_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": ["model.synthetix.spot_synth_wrapped_base_mainnet"], "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": ["model.synthetix.spot_synth_unwrapped_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": ["model.synthetix.core_account_created_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": ["model.synthetix.core_delegation_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": ["model.synthetix.core_deposited_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": ["model.synthetix.core_withdrawn_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": ["model.synthetix.core_liquidation_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": ["model.synthetix.core_market_registered_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": ["model.synthetix.core_pool_created_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": ["model.synthetix.core_rewards_claimed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": ["model.synthetix.core_rewards_distributed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": ["model.synthetix.core_usd_burned_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": ["model.synthetix.core_usd_minted_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": ["model.synthetix.core_vault_liquidation_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": ["model.synthetix.core_market_updated_base_mainnet"], "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": ["model.synthetix.buyback_processed_base_mainnet"], "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": ["model.synthetix.buyback_processed_base_mainnet"], "source.synthetix.raw_base_mainnet.core_get_vault_collateral": ["model.synthetix.core_vault_collateral_base_mainnet"], "source.synthetix.raw_base_mainnet.core_get_vault_debt": ["model.synthetix.core_vault_debt_base_mainnet"], "source.synthetix.raw_base_mainnet.blocks_parquet": ["model.synthetix.blocks_base_mainnet"], "source.synthetix.raw_optimism_mainnet.block": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": [], "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": [], "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": [], "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": []}, "group_map": {}, "saved_queries": {}, "semantic_models": {}, "unit_tests": {}} \ No newline at end of file diff --git a/partial_parse.msgpack b/partial_parse.msgpack new file mode 100644 index 00000000..db1d8209 Binary files /dev/null and b/partial_parse.msgpack differ diff --git a/run_results.json b/run_results.json new file mode 100644 index 00000000..d146ce77 --- /dev/null +++ b/run_results.json @@ -0,0 +1 @@ +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v6.json", "dbt_version": "1.8.3", "generated_at": "2024-07-18T20:39:00.103938Z", "invocation_id": "c4d9800a-0748-42c4-9bde-765aa21c4ba9", "env": {}}, "results": [{"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.801447Z", "completed_at": "2024-07-18T20:38:55.806325Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.807108Z", "completed_at": "2024-07-18T20:38:55.807123Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0266876220703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_base_sepolia", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.793251Z", "completed_at": "2024-07-18T20:38:55.808067Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.810836Z", "completed_at": "2024-07-18T20:38:55.810846Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.03231167793273926, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.796957Z", "completed_at": "2024-07-18T20:38:55.809346Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.812393Z", "completed_at": "2024-07-18T20:38:55.812404Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03326082229614258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_base_mainnet", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\"\n),\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.782509Z", "completed_at": "2024-07-18T20:38:55.809993Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.813343Z", "completed_at": "2024-07-18T20:38:55.813351Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0361325740814209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.blocks_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.818032Z", "completed_at": "2024-07-18T20:38:55.828825Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.836237Z", "completed_at": "2024-07-18T20:38:55.836255Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024635791778564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.buyback_processed_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_legacy_event_buyback_processed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.825549Z", "completed_at": "2024-07-18T20:38:55.837590Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.839794Z", "completed_at": "2024-07-18T20:38:55.839805Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022719860076904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.buyback_processed_base_sepolia", "compiled": true, "compiled_code": "WITH current_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"buyback_snx_event_buyback_processed\"\n\n)\n\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n event_name,\n contract,\n buyer,\n snx,\n usd\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.829448Z", "completed_at": "2024-07-18T20:38:55.839049Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.841546Z", "completed_at": "2024-07-18T20:38:55.841554Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019324541091918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.832903Z", "completed_at": "2024-07-18T20:38:55.842476Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.845329Z", "completed_at": "2024-07-18T20:38:55.845337Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022472381591796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.846931Z", "completed_at": "2024-07-18T20:38:55.862784Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.864314Z", "completed_at": "2024-07-18T20:38:55.864327Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023615360260009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.859315Z", "completed_at": "2024-07-18T20:38:55.865298Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.870489Z", "completed_at": "2024-07-18T20:38:55.870500Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018549442291259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.855849Z", "completed_at": "2024-07-18T20:38:55.865856Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.871531Z", "completed_at": "2024-07-18T20:38:55.871540Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02533268928527832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_account_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.866444Z", "completed_at": "2024-07-18T20:38:55.873308Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.876098Z", "completed_at": "2024-07-18T20:38:55.876107Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021042823791503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.878305Z", "completed_at": "2024-07-18T20:38:55.893254Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.894862Z", "completed_at": "2024-07-18T20:38:55.894874Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02244710922241211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.888214Z", "completed_at": "2024-07-18T20:38:55.895941Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.901422Z", "completed_at": "2024-07-18T20:38:55.901434Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023891448974609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.884763Z", "completed_at": "2024-07-18T20:38:55.896475Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.902526Z", "completed_at": "2024-07-18T20:38:55.902534Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025614500045776367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_delegation_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.897170Z", "completed_at": "2024-07-18T20:38:55.904242Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.907097Z", "completed_at": "2024-07-18T20:38:55.907105Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023073911666870117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.909265Z", "completed_at": "2024-07-18T20:38:55.918983Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.923637Z", "completed_at": "2024-07-18T20:38:55.923652Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02031874656677246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.915602Z", "completed_at": "2024-07-18T20:38:55.924661Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.930062Z", "completed_at": "2024-07-18T20:38:55.930073Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022151708602905273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_deposited_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_deposited\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.919604Z", "completed_at": "2024-07-18T20:38:55.929231Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.932367Z", "completed_at": "2024-07-18T20:38:55.932375Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023832321166992188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.925317Z", "completed_at": "2024-07-18T20:38:55.931822Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.934696Z", "completed_at": "2024-07-18T20:38:55.934704Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01988816261291504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.937026Z", "completed_at": "2024-07-18T20:38:55.945493Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.953244Z", "completed_at": "2024-07-18T20:38:55.953258Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02228832244873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.946086Z", "completed_at": "2024-07-18T20:38:55.958743Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.960703Z", "completed_at": "2024-07-18T20:38:55.960715Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024530410766601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_liquidation_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.949981Z", "completed_at": "2024-07-18T20:38:55.960091Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.962780Z", "completed_at": "2024-07-18T20:38:55.962788Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0202028751373291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.954289Z", "completed_at": "2024-07-18T20:38:55.961612Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.964380Z", "completed_at": "2024-07-18T20:38:55.964388Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020388364791870117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.965423Z", "completed_at": "2024-07-18T20:38:55.972730Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.977983Z", "completed_at": "2024-07-18T20:38:55.977993Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018605947494506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.974553Z", "completed_at": "2024-07-18T20:38:55.992080Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.993695Z", "completed_at": "2024-07-18T20:38:55.993707Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024168729782104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_registered_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.979608Z", "completed_at": "2024-07-18T20:38:55.994596Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:55.997166Z", "completed_at": "2024-07-18T20:38:55.997175Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026075363159179688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.987266Z", "completed_at": "2024-07-18T20:38:55.995812Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.004145Z", "completed_at": "2024-07-18T20:38:56.004158Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030919790267944336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:55.998246Z", "completed_at": "2024-07-18T20:38:56.007608Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.010137Z", "completed_at": "2024-07-18T20:38:56.010146Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.017447471618652344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.011019Z", "completed_at": "2024-07-18T20:38:56.026395Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.028076Z", "completed_at": "2024-07-18T20:38:56.028089Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022990703582763672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_deposited\"\n\n ) legacy_usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_legacy_event_market_usd_withdrawn\"\n\n ) legacy_usd_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.019504Z", "completed_at": "2024-07-18T20:38:56.028974Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.031560Z", "completed_at": "2024-07-18T20:38:56.031568Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022800207138061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.022893Z", "completed_at": "2024-07-18T20:38:56.030185Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.037661Z", "completed_at": "2024-07-18T20:38:56.037670Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028239965438842773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.032580Z", "completed_at": "2024-07-18T20:38:56.040860Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.043441Z", "completed_at": "2024-07-18T20:38:56.043449Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.016403675079345703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.044292Z", "completed_at": "2024-07-18T20:38:56.056733Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.058449Z", "completed_at": "2024-07-18T20:38:56.058461Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01999664306640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_pool_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_pool_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.049931Z", "completed_at": "2024-07-18T20:38:56.059301Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.061856Z", "completed_at": "2024-07-18T20:38:56.061865Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019739151000976562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.053487Z", "completed_at": "2024-07-18T20:38:56.059895Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.062762Z", "completed_at": "2024-07-18T20:38:56.062770Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020038127899169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.063620Z", "completed_at": "2024-07-18T20:38:56.071045Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.076366Z", "completed_at": "2024-07-18T20:38:56.076379Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019118070602416992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.072217Z", "completed_at": "2024-07-18T20:38:56.083632Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.088601Z", "completed_at": "2024-07-18T20:38:56.088613Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02149033546447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_claimed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.078076Z", "completed_at": "2024-07-18T20:38:56.090395Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.093177Z", "completed_at": "2024-07-18T20:38:56.093187Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022845745086669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.085072Z", "completed_at": "2024-07-18T20:38:56.091910Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.094695Z", "completed_at": "2024-07-18T20:38:56.094703Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023183345794677734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.095565Z", "completed_at": "2024-07-18T20:38:56.102339Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.107998Z", "completed_at": "2024-07-18T20:38:56.108011Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0183413028717041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.102880Z", "completed_at": "2024-07-18T20:38:56.109686Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.117916Z", "completed_at": "2024-07-18T20:38:56.117927Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024079561233520508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_rewards_distributed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.114463Z", "completed_at": "2024-07-18T20:38:56.121489Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.126479Z", "completed_at": "2024-07-18T20:38:56.126491Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021696805953979492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.110248Z", "completed_at": "2024-07-18T20:38:56.122628Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.129799Z", "completed_at": "2024-07-18T20:38:56.129809Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028316736221313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.123196Z", "completed_at": "2024-07-18T20:38:56.131658Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.137304Z", "completed_at": "2024-07-18T20:38:56.137315Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018317222595214844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.132202Z", "completed_at": "2024-07-18T20:38:56.139103Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.142049Z", "completed_at": "2024-07-18T20:38:56.142057Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020102977752685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_burned_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_burned\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.142921Z", "completed_at": "2024-07-18T20:38:56.151848Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.157292Z", "completed_at": "2024-07-18T20:38:56.157303Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02097296714782715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.146936Z", "completed_at": "2024-07-18T20:38:56.156548Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.158889Z", "completed_at": "2024-07-18T20:38:56.158897Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02068471908569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.153227Z", "completed_at": "2024-07-18T20:38:56.160456Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.166088Z", "completed_at": "2024-07-18T20:38:56.166097Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01987910270690918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.161252Z", "completed_at": "2024-07-18T20:38:56.168320Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.173583Z", "completed_at": "2024-07-18T20:38:56.173591Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021170854568481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_usd_minted_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_usd_minted\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.170305Z", "completed_at": "2024-07-18T20:38:56.180917Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.183787Z", "completed_at": "2024-07-18T20:38:56.183801Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018611669540405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.175135Z", "completed_at": "2024-07-18T20:38:56.183250Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.188755Z", "completed_at": "2024-07-18T20:38:56.188765Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02178192138671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.184703Z", "completed_at": "2024-07-18T20:38:56.193900Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.196083Z", "completed_at": "2024-07-18T20:38:56.196092Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021729469299316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.190674Z", "completed_at": "2024-07-18T20:38:56.197082Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.199581Z", "completed_at": "2024-07-18T20:38:56.199589Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01710963249206543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.201216Z", "completed_at": "2024-07-18T20:38:56.210967Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.216516Z", "completed_at": "2024-07-18T20:38:56.216527Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021347999572753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.205902Z", "completed_at": "2024-07-18T20:38:56.215170Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.217594Z", "completed_at": "2024-07-18T20:38:56.217602Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020064830780029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.211656Z", "completed_at": "2024-07-18T20:38:56.218414Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.225951Z", "completed_at": "2024-07-18T20:38:56.225963Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02154684066772461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.219005Z", "completed_at": "2024-07-18T20:38:56.229159Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.231644Z", "completed_at": "2024-07-18T20:38:56.231653Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02136826515197754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_withdrawn_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_withdrawn\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.232497Z", "completed_at": "2024-07-18T20:38:56.244012Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.246252Z", "completed_at": "2024-07-18T20:38:56.246263Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01932978630065918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.235767Z", "completed_at": "2024-07-18T20:38:56.245531Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.248276Z", "completed_at": "2024-07-18T20:38:56.248286Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020699024200439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.240897Z", "completed_at": "2024-07-18T20:38:56.247119Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.250032Z", "completed_at": "2024-07-18T20:38:56.250041Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019145488739013672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.250934Z", "completed_at": "2024-07-18T20:38:56.257532Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.260102Z", "completed_at": "2024-07-18T20:38:56.260112Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015407323837280273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_account_liquidation_attempt\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.260980Z", "completed_at": "2024-07-18T20:38:56.274688Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.276820Z", "completed_at": "2024-07-18T20:38:56.276833Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02182745933532715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_collateral_modified\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.265287Z", "completed_at": "2024-07-18T20:38:56.276211Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.279397Z", "completed_at": "2024-07-18T20:38:56.279407Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022673845291137695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_collateral_modified\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.271450Z", "completed_at": "2024-07-18T20:38:56.278809Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.284913Z", "completed_at": "2024-07-18T20:38:56.284924Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026271343231201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_charged_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_charged\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.281453Z", "completed_at": "2024-07-18T20:38:56.288181Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.290743Z", "completed_at": "2024-07-18T20:38:56.290753Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015418052673339844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_charged\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.292319Z", "completed_at": "2024-07-18T20:38:56.305185Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.307788Z", "completed_at": "2024-07-18T20:38:56.307803Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021252870559692383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.297096Z", "completed_at": "2024-07-18T20:38:56.305956Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.308727Z", "completed_at": "2024-07-18T20:38:56.308735Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019942283630371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_interest_rate_updated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.300924Z", "completed_at": "2024-07-18T20:38:56.306662Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.309657Z", "completed_at": "2024-07-18T20:38:56.309668Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019628524780273438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_created_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.310536Z", "completed_at": "2024-07-18T20:38:56.319823Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.322306Z", "completed_at": "2024-07-18T20:38:56.322316Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018081188201904297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_created_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_created\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.323163Z", "completed_at": "2024-07-18T20:38:56.336199Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.338764Z", "completed_at": "2024-07-18T20:38:56.338777Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020995616912841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.330939Z", "completed_at": "2024-07-18T20:38:56.337645Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.340222Z", "completed_at": "2024-07-18T20:38:56.340233Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021076679229736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_committed_base_mainnet", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.327124Z", "completed_at": "2024-07-18T20:38:56.338227Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.341121Z", "completed_at": "2024-07-18T20:38:56.341129Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02267169952392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.342698Z", "completed_at": "2024-07-18T20:38:56.349900Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.352174Z", "completed_at": "2024-07-18T20:38:56.352182Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01532888412475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_committed_base_sepolia", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.353748Z", "completed_at": "2024-07-18T20:38:56.366893Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.368826Z", "completed_at": "2024-07-18T20:38:56.368838Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02047133445739746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_settled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.357135Z", "completed_at": "2024-07-18T20:38:56.368150Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.370958Z", "completed_at": "2024-07-18T20:38:56.370968Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021783113479614258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_order_settled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.363123Z", "completed_at": "2024-07-18T20:38:56.369786Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.372622Z", "completed_at": "2024-07-18T20:38:56.372633Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022282123565673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_position_liquidated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.373559Z", "completed_at": "2024-07-18T20:38:56.379970Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.382363Z", "completed_at": "2024-07-18T20:38:56.382374Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014955997467041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_position_liquidated\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.383253Z", "completed_at": "2024-07-18T20:38:56.394957Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.397093Z", "completed_at": "2024-07-18T20:38:56.397107Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019516706466674805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_previous_order_expired\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.387313Z", "completed_at": "2024-07-18T20:38:56.396455Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.398636Z", "completed_at": "2024-07-18T20:38:56.398645Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019370079040527344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_previous_order_expired\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.391587Z", "completed_at": "2024-07-18T20:38:56.400171Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.407720Z", "completed_at": "2024-07-18T20:38:56.407734Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02669548988342285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.400955Z", "completed_at": "2024-07-18T20:38:56.410770Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.415983Z", "completed_at": "2024-07-18T20:38:56.415998Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0205841064453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.412075Z", "completed_at": "2024-07-18T20:38:56.421724Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.426976Z", "completed_at": "2024-07-18T20:38:56.426986Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022067785263061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.417016Z", "completed_at": "2024-07-18T20:38:56.426433Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.429118Z", "completed_at": "2024-07-18T20:38:56.429126Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020375967025756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_cancelled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.422410Z", "completed_at": "2024-07-18T20:38:56.428521Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.434134Z", "completed_at": "2024-07-18T20:38:56.434143Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019000530242919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.430719Z", "completed_at": "2024-07-18T20:38:56.438661Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.444315Z", "completed_at": "2024-07-18T20:38:56.444328Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01881265640258789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.440673Z", "completed_at": "2024-07-18T20:38:56.455916Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.457977Z", "completed_at": "2024-07-18T20:38:56.457991Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022360563278198242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.446005Z", "completed_at": "2024-07-18T20:38:56.457264Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.459994Z", "completed_at": "2024-07-18T20:38:56.460001Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02283191680908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_committed_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_committed\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.450243Z", "completed_at": "2024-07-18T20:38:56.458853Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.461665Z", "completed_at": "2024-07-18T20:38:56.461672Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022505998611450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.462547Z", "completed_at": "2024-07-18T20:38:56.468816Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.471178Z", "completed_at": "2024-07-18T20:38:56.471188Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.014709234237670898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.472051Z", "completed_at": "2024-07-18T20:38:56.484432Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.487096Z", "completed_at": "2024-07-18T20:38:56.487108Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02066946029663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.476442Z", "completed_at": "2024-07-18T20:38:56.485864Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.488550Z", "completed_at": "2024-07-18T20:38:56.488558Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020467042922973633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_order_settled_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_order_settled\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.480689Z", "completed_at": "2024-07-18T20:38:56.486547Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.489443Z", "completed_at": "2024-07-18T20:38:56.489453Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019557952880859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.491118Z", "completed_at": "2024-07-18T20:38:56.498858Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.505595Z", "completed_at": "2024-07-18T20:38:56.505606Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02056121826171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.500540Z", "completed_at": "2024-07-18T20:38:56.513920Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.516628Z", "completed_at": "2024-07-18T20:38:56.516638Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020583152770996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.506489Z", "completed_at": "2024-07-18T20:38:56.514802Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.517542Z", "completed_at": "2024-07-18T20:38:56.517550Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020643234252929688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.509650Z", "completed_at": "2024-07-18T20:38:56.516060Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.518976Z", "completed_at": "2024-07-18T20:38:56.518984Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02139568328857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.521490Z", "completed_at": "2024-07-18T20:38:56.529263Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.537102Z", "completed_at": "2024-07-18T20:38:56.537117Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021834850311279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.530349Z", "completed_at": "2024-07-18T20:38:56.543345Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.545637Z", "completed_at": "2024-07-18T20:38:56.545648Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019759178161621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.533734Z", "completed_at": "2024-07-18T20:38:56.544792Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.547724Z", "completed_at": "2024-07-18T20:38:56.547732Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021277666091918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_registered\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.538102Z", "completed_at": "2024-07-18T20:38:56.546484Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.549532Z", "completed_at": "2024-07-18T20:38:56.549541Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022243976593017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.553125Z", "completed_at": "2024-07-18T20:38:56.562548Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.567255Z", "completed_at": "2024-07-18T20:38:56.567271Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020300865173339844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.563811Z", "completed_at": "2024-07-18T20:38:56.572909Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.575621Z", "completed_at": "2024-07-18T20:38:56.575634Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01911306381225586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.568268Z", "completed_at": "2024-07-18T20:38:56.573879Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.576516Z", "completed_at": "2024-07-18T20:38:56.576524Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018619537353515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.559316Z", "completed_at": "2024-07-18T20:38:56.575055Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.577989Z", "completed_at": "2024-07-18T20:38:56.577997Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026482105255126953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_sold_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_sold\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.580714Z", "completed_at": "2024-07-18T20:38:56.588245Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.715659Z", "completed_at": "2024-07-18T20:38:56.715679Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.14139604568481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.711604Z", "completed_at": "2024-07-18T20:38:56.721379Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.723531Z", "completed_at": "2024-07-18T20:38:56.723540Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.13791942596435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.589437Z", "completed_at": "2024-07-18T20:38:56.722857Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.725598Z", "completed_at": "2024-07-18T20:38:56.725606Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.14075922966003418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.716740Z", "completed_at": "2024-07-18T20:38:56.724406Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.727161Z", "completed_at": "2024-07-18T20:38:56.727169Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.1407935619354248, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.728144Z", "completed_at": "2024-07-18T20:38:56.734693Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.736999Z", "completed_at": "2024-07-18T20:38:56.737008Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01495671272277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.745926Z", "completed_at": "2024-07-18T20:38:56.747655Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.750561Z", "completed_at": "2024-07-18T20:38:56.750570Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014848947525024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.737888Z", "completed_at": "2024-07-18T20:38:56.748606Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.751497Z", "completed_at": "2024-07-18T20:38:56.751505Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021030902862548828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.741923Z", "completed_at": "2024-07-18T20:38:56.750023Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.754616Z", "completed_at": "2024-07-18T20:38:56.754624Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02080535888671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_wrapped\"\n", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.757057Z", "completed_at": "2024-07-18T20:38:56.758630Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.761433Z", "completed_at": "2024-07-18T20:38:56.761443Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.012184381484985352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_mainnet_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.765546Z", "completed_at": "2024-07-18T20:38:56.767240Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.773035Z", "completed_at": "2024-07-18T20:38:56.773067Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01323556900024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.767819Z", "completed_at": "2024-07-18T20:38:56.769685Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.774182Z", "completed_at": "2024-07-18T20:38:56.774191Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01351475715637207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.arbitrum_sepolia_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.770865Z", "completed_at": "2024-07-18T20:38:56.772466Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.775652Z", "completed_at": "2024-07-18T20:38:56.775659Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.013448715209960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.778028Z", "completed_at": "2024-07-18T20:38:56.779734Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.782649Z", "completed_at": "2024-07-18T20:38:56.782657Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.012491941452026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_mainnet_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.786623Z", "completed_at": "2024-07-18T20:38:56.788375Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.798308Z", "completed_at": "2024-07-18T20:38:56.798320Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017327308654785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_sepolia_reward_distributors", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.788944Z", "completed_at": "2024-07-18T20:38:56.792780Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.799345Z", "completed_at": "2024-07-18T20:38:56.799353Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.017522573471069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.synthetix.base_sepolia_tokens", "compiled": null, "compiled_code": null, "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.794165Z", "completed_at": "2024-07-18T20:38:56.801827Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.807873Z", "completed_at": "2024-07-18T20:38:56.807882Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024498462677001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.803150Z", "completed_at": "2024-07-18T20:38:56.810942Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.825706Z", "completed_at": "2024-07-18T20:38:56.825725Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.03244280815124512, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_base_sepolia\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.812063Z", "completed_at": "2024-07-18T20:38:56.840051Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.842183Z", "completed_at": "2024-07-18T20:38:56.842196Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.035065650939941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.826806Z", "completed_at": "2024-07-18T20:38:56.841462Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.844266Z", "completed_at": "2024-07-18T20:38:56.844276Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03554224967956543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.835674Z", "completed_at": "2024-07-18T20:38:56.843141Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.845867Z", "completed_at": "2024-07-18T20:38:56.845875Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020992279052734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.846733Z", "completed_at": "2024-07-18T20:38:56.855964Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.862187Z", "completed_at": "2024-07-18T20:38:56.862200Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021570920944213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.857775Z", "completed_at": "2024-07-18T20:38:56.874465Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.876397Z", "completed_at": "2024-07-18T20:38:56.876410Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023413658142089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.863667Z", "completed_at": "2024-07-18T20:38:56.875792Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.882335Z", "completed_at": "2024-07-18T20:38:56.882345Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02783966064453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.868799Z", "completed_at": "2024-07-18T20:38:56.877806Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.884435Z", "completed_at": "2024-07-18T20:38:56.884443Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028003215789794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.878423Z", "completed_at": "2024-07-18T20:38:56.886435Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.889434Z", "completed_at": "2024-07-18T20:38:56.889442Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015866756439208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_base_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.892888Z", "completed_at": "2024-07-18T20:38:56.911441Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.917339Z", "completed_at": "2024-07-18T20:38:56.917356Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030275583267211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.898900Z", "completed_at": "2024-07-18T20:38:56.912132Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.918344Z", "completed_at": "2024-07-18T20:38:56.918353Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029851913452148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.906588Z", "completed_at": "2024-07-18T20:38:56.916710Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.919392Z", "completed_at": "2024-07-18T20:38:56.919401Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028613805770874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n amount AS numeric\n ) AS amount,\n CAST(\n \"value\" AS numeric\n ) AS collateral_value\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_collateral\"\n WHERE\n amount IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.amount / 1e18\n AS amount,\n \n base.collateral_value / 1e18\n AS collateral_value\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.913028Z", "completed_at": "2024-07-18T20:38:56.921068Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.923846Z", "completed_at": "2024-07-18T20:38:56.923855Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01825428009033203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n block_number,\n contract_address,\n chain_id,\n pool_id,\n collateral_type,\n CAST(\n value_1 AS numeric\n ) AS debt\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_get_vault_debt\"\n WHERE\n value_1 IS NOT NULL\n)\nSELECT\n blocks.ts,\n base.block_number,\n base.contract_address,\n CAST(\n base.pool_id AS INTEGER\n ) AS pool_id,\n CAST(\n base.collateral_type AS VARCHAR\n ) AS collateral_type,\n \n base.debt / 1e18\n AS debt\nFROM\n base\n JOIN \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\" AS blocks\n ON base.block_number = blocks.block_number", "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.934525Z", "completed_at": "2024-07-18T20:38:56.944235Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.951730Z", "completed_at": "2024-07-18T20:38:56.951744Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026982545852661133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "compiled": true, "compiled_code": "\n \n \n\nselect\n block_number as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is not null\ngroup by block_number\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.928751Z", "completed_at": "2024-07-18T20:38:56.951081Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.952913Z", "completed_at": "2024-07-18T20:38:56.952923Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02988290786743164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\nwhere block_number is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.939078Z", "completed_at": "2024-07-18T20:38:56.953886Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.956493Z", "completed_at": "2024-07-18T20:38:56.956504Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.031014442443847656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.945002Z", "completed_at": "2024-07-18T20:38:56.955920Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.958688Z", "completed_at": "2024-07-18T20:38:56.958697Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024996042251586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp AS ts,\n buyer,\n \n snx / 1e18\n AS snx,\n \n usd / 1e18\n AS usd,\n (\n usd / 1e18\n) / (\n snx / 1e18\n) AS snx_price\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.967628Z", "completed_at": "2024-07-18T20:38:56.974579Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.984979Z", "completed_at": "2024-07-18T20:38:56.984993Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027081966400146484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.963034Z", "completed_at": "2024-07-18T20:38:56.979681Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.986100Z", "completed_at": "2024-07-18T20:38:56.986115Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028798341751098633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.975142Z", "completed_at": "2024-07-18T20:38:56.987909Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.990571Z", "completed_at": "2024-07-18T20:38:56.990582Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02838420867919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.980450Z", "completed_at": "2024-07-18T20:38:56.989258Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:56.992073Z", "completed_at": "2024-07-18T20:38:56.992083Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019881010055541992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.001031Z", "completed_at": "2024-07-18T20:38:57.009024Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.014888Z", "completed_at": "2024-07-18T20:38:57.014905Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02358722686767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:56.995646Z", "completed_at": "2024-07-18T20:38:57.009741Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.015952Z", "completed_at": "2024-07-18T20:38:57.015960Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026135921478271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.016840Z", "completed_at": "2024-07-18T20:38:57.023533Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.025967Z", "completed_at": "2024-07-18T20:38:57.025978Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01882004737854004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.011045Z", "completed_at": "2024-07-18T20:38:57.024091Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.026897Z", "completed_at": "2024-07-18T20:38:57.026905Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02663254737854004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.028383Z", "completed_at": "2024-07-18T20:38:57.039961Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.042686Z", "completed_at": "2024-07-18T20:38:57.042696Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020054340362548828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.034657Z", "completed_at": "2024-07-18T20:38:57.042079Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.048757Z", "completed_at": "2024-07-18T20:38:57.048771Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02422165870666504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.044197Z", "completed_at": "2024-07-18T20:38:57.059010Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.061655Z", "completed_at": "2024-07-18T20:38:57.061667Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022520780563354492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.050586Z", "completed_at": "2024-07-18T20:38:57.061026Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.067278Z", "completed_at": "2024-07-18T20:38:57.067291Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026868104934692383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.063214Z", "completed_at": "2024-07-18T20:38:57.074745Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.077228Z", "completed_at": "2024-07-18T20:38:57.077239Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01906895637512207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.069068Z", "completed_at": "2024-07-18T20:38:57.076088Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.078728Z", "completed_at": "2024-07-18T20:38:57.078740Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01916027069091797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.080243Z", "completed_at": "2024-07-18T20:38:57.094161Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.096538Z", "completed_at": "2024-07-18T20:38:57.096552Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022706031799316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.085870Z", "completed_at": "2024-07-18T20:38:57.094802Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.097488Z", "completed_at": "2024-07-18T20:38:57.097497Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022174596786499023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.098372Z", "completed_at": "2024-07-18T20:38:57.109106Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.111615Z", "completed_at": "2024-07-18T20:38:57.111626Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020021915435791016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.102585Z", "completed_at": "2024-07-18T20:38:57.109776Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.112581Z", "completed_at": "2024-07-18T20:38:57.112590Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01963353157043457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.114197Z", "completed_at": "2024-07-18T20:38:57.129409Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.131503Z", "completed_at": "2024-07-18T20:38:57.131516Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023233890533447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.123331Z", "completed_at": "2024-07-18T20:38:57.132505Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.139126Z", "completed_at": "2024-07-18T20:38:57.139137Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028940916061401367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.133733Z", "completed_at": "2024-07-18T20:38:57.145518Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.148270Z", "completed_at": "2024-07-18T20:38:57.148281Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01996326446533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.140111Z", "completed_at": "2024-07-18T20:38:57.147667Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.153993Z", "completed_at": "2024-07-18T20:38:57.154005Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024006366729736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.149915Z", "completed_at": "2024-07-18T20:38:57.162029Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.164165Z", "completed_at": "2024-07-18T20:38:57.164176Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019600629806518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.158128Z", "completed_at": "2024-07-18T20:38:57.165119Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.174123Z", "completed_at": "2024-07-18T20:38:57.174134Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025010108947753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.166284Z", "completed_at": "2024-07-18T20:38:57.181694Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.184416Z", "completed_at": "2024-07-18T20:38:57.184427Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027129650115966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.175050Z", "completed_at": "2024-07-18T20:38:57.183159Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.189913Z", "completed_at": "2024-07-18T20:38:57.189923Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027402162551879883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.185374Z", "completed_at": "2024-07-18T20:38:57.193067Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.199665Z", "completed_at": "2024-07-18T20:38:57.199676Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01958441734313965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.193749Z", "completed_at": "2024-07-18T20:38:57.201549Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.208615Z", "completed_at": "2024-07-18T20:38:57.208627Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02498650550842285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.203598Z", "completed_at": "2024-07-18T20:38:57.215835Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.217867Z", "completed_at": "2024-07-18T20:38:57.217877Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0195925235748291, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.209608Z", "completed_at": "2024-07-18T20:38:57.218711Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.227272Z", "completed_at": "2024-07-18T20:38:57.227285Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028343915939331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.219303Z", "completed_at": "2024-07-18T20:38:57.232898Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.235123Z", "completed_at": "2024-07-18T20:38:57.235132Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02097296714782715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.228288Z", "completed_at": "2024-07-18T20:38:57.236642Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.243209Z", "completed_at": "2024-07-18T20:38:57.243219Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026126623153686523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.238524Z", "completed_at": "2024-07-18T20:38:57.250792Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.252950Z", "completed_at": "2024-07-18T20:38:57.252961Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019459247589111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.246307Z", "completed_at": "2024-07-18T20:38:57.254037Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.260874Z", "completed_at": "2024-07-18T20:38:57.260887Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023755788803100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.254730Z", "completed_at": "2024-07-18T20:38:57.266375Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.268556Z", "completed_at": "2024-07-18T20:38:57.268566Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023971080780029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.261953Z", "completed_at": "2024-07-18T20:38:57.269539Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.272028Z", "completed_at": "2024-07-18T20:38:57.272040Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020060300827026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.272922Z", "completed_at": "2024-07-18T20:38:57.286981Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.292816Z", "completed_at": "2024-07-18T20:38:57.292835Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025933265686035156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.281854Z", "completed_at": "2024-07-18T20:38:57.293969Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.296696Z", "completed_at": "2024-07-18T20:38:57.296706Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026120662689208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.288426Z", "completed_at": "2024-07-18T20:38:57.296040Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.302794Z", "completed_at": "2024-07-18T20:38:57.302806Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02263188362121582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.297651Z", "completed_at": "2024-07-18T20:38:57.305180Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.311673Z", "completed_at": "2024-07-18T20:38:57.311684Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024169445037841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.307086Z", "completed_at": "2024-07-18T20:38:57.315619Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.328289Z", "completed_at": "2024-07-18T20:38:57.328307Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02629375457763672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.316208Z", "completed_at": "2024-07-18T20:38:57.330338Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.336746Z", "completed_at": "2024-07-18T20:38:57.336758Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030440330505371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.321566Z", "completed_at": "2024-07-18T20:38:57.331771Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.338496Z", "completed_at": "2024-07-18T20:38:57.338505Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026026010513305664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.332435Z", "completed_at": "2024-07-18T20:38:57.340826Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.347410Z", "completed_at": "2024-07-18T20:38:57.347421Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02680659294128418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.342811Z", "completed_at": "2024-07-18T20:38:57.351035Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.361301Z", "completed_at": "2024-07-18T20:38:57.361316Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023586511611938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.351622Z", "completed_at": "2024-07-18T20:38:57.363357Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.370154Z", "completed_at": "2024-07-18T20:38:57.370166Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028100967407226562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.356775Z", "completed_at": "2024-07-18T20:38:57.364896Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.371813Z", "completed_at": "2024-07-18T20:38:57.371822Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0236053466796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.365541Z", "completed_at": "2024-07-18T20:38:57.373826Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.376361Z", "completed_at": "2024-07-18T20:38:57.376369Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020448684692382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.377300Z", "completed_at": "2024-07-18T20:38:57.391402Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.397802Z", "completed_at": "2024-07-18T20:38:57.397815Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026747703552246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.386255Z", "completed_at": "2024-07-18T20:38:57.397246Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.403585Z", "completed_at": "2024-07-18T20:38:57.403597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028055667877197266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.392053Z", "completed_at": "2024-07-18T20:38:57.402920Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.405517Z", "completed_at": "2024-07-18T20:38:57.405527Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022275924682617188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.398890Z", "completed_at": "2024-07-18T20:38:57.407355Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.409981Z", "completed_at": "2024-07-18T20:38:57.409993Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.01937699317932129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.413446Z", "completed_at": "2024-07-18T20:38:57.430884Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.432704Z", "completed_at": "2024-07-18T20:38:57.432720Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024902820587158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.424393Z", "completed_at": "2024-07-18T20:38:57.438275Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.440454Z", "completed_at": "2024-07-18T20:38:57.440466Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.029053211212158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.418870Z", "completed_at": "2024-07-18T20:38:57.438924Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.442133Z", "completed_at": "2024-07-18T20:38:57.442142Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.032926321029663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.433892Z", "completed_at": "2024-07-18T20:38:57.441520Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.444661Z", "completed_at": "2024-07-18T20:38:57.444671Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021309614181518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.449301Z", "completed_at": "2024-07-18T20:38:57.466180Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.472067Z", "completed_at": "2024-07-18T20:38:57.472084Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029017925262451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.461652Z", "completed_at": "2024-07-18T20:38:57.473186Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.475805Z", "completed_at": "2024-07-18T20:38:57.475816Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027344465255737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.456450Z", "completed_at": "2024-07-18T20:38:57.473752Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.476771Z", "completed_at": "2024-07-18T20:38:57.476783Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02981400489807129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.467079Z", "completed_at": "2024-07-18T20:38:57.475098Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.478367Z", "completed_at": "2024-07-18T20:38:57.478379Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023476600646972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.483348Z", "completed_at": "2024-07-18T20:38:57.496937Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.506198Z", "completed_at": "2024-07-18T20:38:57.506219Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02865004539489746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.497716Z", "completed_at": "2024-07-18T20:38:57.508397Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.510846Z", "completed_at": "2024-07-18T20:38:57.510856Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.028243541717529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.502467Z", "completed_at": "2024-07-18T20:38:57.509039Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.511733Z", "completed_at": "2024-07-18T20:38:57.511744Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022597789764404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.492107Z", "completed_at": "2024-07-18T20:38:57.509601Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.512659Z", "completed_at": "2024-07-18T20:38:57.512667Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030688047409057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.516519Z", "completed_at": "2024-07-18T20:38:57.524813Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.536669Z", "completed_at": "2024-07-18T20:38:57.536683Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02661275863647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.525950Z", "completed_at": "2024-07-18T20:38:57.542440Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.544665Z", "completed_at": "2024-07-18T20:38:57.544677Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023383140563964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.530771Z", "completed_at": "2024-07-18T20:38:57.543896Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.546959Z", "completed_at": "2024-07-18T20:38:57.546968Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025011301040649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.537745Z", "completed_at": "2024-07-18T20:38:57.546339Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.549194Z", "completed_at": "2024-07-18T20:38:57.549205Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02655935287475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.551466Z", "completed_at": "2024-07-18T20:38:57.558944Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.564220Z", "completed_at": "2024-07-18T20:38:57.564232Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.018652677536010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.560107Z", "completed_at": "2024-07-18T20:38:57.574761Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.577943Z", "completed_at": "2024-07-18T20:38:57.577954Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02723383903503418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pools_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.565328Z", "completed_at": "2024-07-18T20:38:57.576726Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.579531Z", "completed_at": "2024-07-18T20:38:57.579539Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022739887237548828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.570313Z", "completed_at": "2024-07-18T20:38:57.577337Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.580428Z", "completed_at": "2024-07-18T20:38:57.580437Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022214889526367188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.584845Z", "completed_at": "2024-07-18T20:38:57.594632Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.604869Z", "completed_at": "2024-07-18T20:38:57.604885Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02614593505859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.595784Z", "completed_at": "2024-07-18T20:38:57.611118Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.613480Z", "completed_at": "2024-07-18T20:38:57.613495Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02942681312561035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.600229Z", "completed_at": "2024-07-18T20:38:57.612082Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.615108Z", "completed_at": "2024-07-18T20:38:57.615119Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023549795150756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.605863Z", "completed_at": "2024-07-18T20:38:57.614481Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.617317Z", "completed_at": "2024-07-18T20:38:57.617326Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024951457977294922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.619015Z", "completed_at": "2024-07-18T20:38:57.627847Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.640179Z", "completed_at": "2024-07-18T20:38:57.640195Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027613162994384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.628464Z", "completed_at": "2024-07-18T20:38:57.646213Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.648545Z", "completed_at": "2024-07-18T20:38:57.648557Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024932146072387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.633705Z", "completed_at": "2024-07-18T20:38:57.647881Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.650955Z", "completed_at": "2024-07-18T20:38:57.650967Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025819778442382812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.641579Z", "completed_at": "2024-07-18T20:38:57.649677Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.652556Z", "completed_at": "2024-07-18T20:38:57.652568Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026009798049926758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.656233Z", "completed_at": "2024-07-18T20:38:57.668774Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.675046Z", "completed_at": "2024-07-18T20:38:57.675064Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02494335174560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.664014Z", "completed_at": "2024-07-18T20:38:57.676237Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.682298Z", "completed_at": "2024-07-18T20:38:57.682310Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027568578720092773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.670239Z", "completed_at": "2024-07-18T20:38:57.683432Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.686032Z", "completed_at": "2024-07-18T20:38:57.686042Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024918556213378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.676797Z", "completed_at": "2024-07-18T20:38:57.684699Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.687500Z", "completed_at": "2024-07-18T20:38:57.687510Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02502894401550293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.689746Z", "completed_at": "2024-07-18T20:38:57.699583Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.706194Z", "completed_at": "2024-07-18T20:38:57.706207Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022247791290283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.700167Z", "completed_at": "2024-07-18T20:38:57.712046Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.718372Z", "completed_at": "2024-07-18T20:38:57.718384Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.030149221420288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.707308Z", "completed_at": "2024-07-18T20:38:57.720169Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.722667Z", "completed_at": "2024-07-18T20:38:57.722677Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024733304977416992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.712654Z", "completed_at": "2024-07-18T20:38:57.721440Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.724182Z", "completed_at": "2024-07-18T20:38:57.724190Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02536916732788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.725074Z", "completed_at": "2024-07-18T20:38:57.733173Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.739635Z", "completed_at": "2024-07-18T20:38:57.739647Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020235538482666016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.733769Z", "completed_at": "2024-07-18T20:38:57.749653Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.756096Z", "completed_at": "2024-07-18T20:38:57.756112Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.03267312049865723, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.741536Z", "completed_at": "2024-07-18T20:38:57.757126Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.759236Z", "completed_at": "2024-07-18T20:38:57.759247Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02704167366027832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.750323Z", "completed_at": "2024-07-18T20:38:57.760105Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.766772Z", "completed_at": "2024-07-18T20:38:57.766783Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02857041358947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.760702Z", "completed_at": "2024-07-18T20:38:57.769137Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.775401Z", "completed_at": "2024-07-18T20:38:57.775412Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02015399932861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.770392Z", "completed_at": "2024-07-18T20:38:57.781558Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.783601Z", "completed_at": "2024-07-18T20:38:57.783614Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.01837444305419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.777061Z", "completed_at": "2024-07-18T20:38:57.784479Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.790656Z", "completed_at": "2024-07-18T20:38:57.790666Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022263050079345703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.785689Z", "completed_at": "2024-07-18T20:38:57.793584Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.801341Z", "completed_at": "2024-07-18T20:38:57.801352Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02516007423400879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.794206Z", "completed_at": "2024-07-18T20:38:57.808233Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.814566Z", "completed_at": "2024-07-18T20:38:57.814576Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0296173095703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.802344Z", "completed_at": "2024-07-18T20:38:57.813224Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.815603Z", "completed_at": "2024-07-18T20:38:57.815612Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023444652557373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.809013Z", "completed_at": "2024-07-18T20:38:57.816519Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.819082Z", "completed_at": "2024-07-18T20:38:57.819090Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018515825271606445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.819941Z", "completed_at": "2024-07-18T20:38:57.827288Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.837619Z", "completed_at": "2024-07-18T20:38:57.837634Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02399277687072754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.828431Z", "completed_at": "2024-07-18T20:38:57.840162Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.846319Z", "completed_at": "2024-07-18T20:38:57.846332Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022553443908691406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.833147Z", "completed_at": "2024-07-18T20:38:57.844960Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.847346Z", "completed_at": "2024-07-18T20:38:57.847357Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022938013076782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.840916Z", "completed_at": "2024-07-18T20:38:57.851276Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.853866Z", "completed_at": "2024-07-18T20:38:57.853875Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02616405487060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.854746Z", "completed_at": "2024-07-18T20:38:57.862944Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.873485Z", "completed_at": "2024-07-18T20:38:57.873501Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028091907501220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.864164Z", "completed_at": "2024-07-18T20:38:57.876013Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.882480Z", "completed_at": "2024-07-18T20:38:57.882490Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02317214012145996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.868985Z", "completed_at": "2024-07-18T20:38:57.876697Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.883505Z", "completed_at": "2024-07-18T20:38:57.883517Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023508071899414062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.877287Z", "completed_at": "2024-07-18T20:38:57.885093Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.891276Z", "completed_at": "2024-07-18T20:38:57.891287Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0278778076171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.887018Z", "completed_at": "2024-07-18T20:38:57.894610Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.896946Z", "completed_at": "2024-07-18T20:38:57.896955Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015362262725830078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.904807Z", "completed_at": "2024-07-18T20:38:57.915519Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.917766Z", "completed_at": "2024-07-18T20:38:57.917780Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024798154830932617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.897852Z", "completed_at": "2024-07-18T20:38:57.916999Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.919848Z", "completed_at": "2024-07-18T20:38:57.919858Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027650117874145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.911139Z", "completed_at": "2024-07-18T20:38:57.918685Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.921498Z", "completed_at": "2024-07-18T20:38:57.921507Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02528238296508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.922390Z", "completed_at": "2024-07-18T20:38:57.930736Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.937278Z", "completed_at": "2024-07-18T20:38:57.937291Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021118640899658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.932625Z", "completed_at": "2024-07-18T20:38:57.950086Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.953502Z", "completed_at": "2024-07-18T20:38:57.953516Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025786399841308594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.938858Z", "completed_at": "2024-07-18T20:38:57.952864Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.955233Z", "completed_at": "2024-07-18T20:38:57.955244Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025934696197509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.944406Z", "completed_at": "2024-07-18T20:38:57.956286Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.963373Z", "completed_at": "2024-07-18T20:38:57.963386Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0321962833404541, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.957694Z", "completed_at": "2024-07-18T20:38:57.965765Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.968181Z", "completed_at": "2024-07-18T20:38:57.968192Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016177892684936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.974468Z", "completed_at": "2024-07-18T20:38:57.981022Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.987635Z", "completed_at": "2024-07-18T20:38:57.987651Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022658586502075195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.969791Z", "completed_at": "2024-07-18T20:38:57.982239Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.989246Z", "completed_at": "2024-07-18T20:38:57.989257Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025063276290893555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.982824Z", "completed_at": "2024-07-18T20:38:57.995240Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:57.997422Z", "completed_at": "2024-07-18T20:38:57.997432Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028439044952392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:57.991084Z", "completed_at": "2024-07-18T20:38:57.998303Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.000954Z", "completed_at": "2024-07-18T20:38:58.000966Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019488811492919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.002448Z", "completed_at": "2024-07-18T20:38:58.016776Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.022733Z", "completed_at": "2024-07-18T20:38:58.022750Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026219606399536133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.010769Z", "completed_at": "2024-07-18T20:38:58.021385Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.023793Z", "completed_at": "2024-07-18T20:38:58.023806Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025023937225341797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.017384Z", "completed_at": "2024-07-18T20:38:58.024715Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.031450Z", "completed_at": "2024-07-18T20:38:58.031461Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022264957427978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.025294Z", "completed_at": "2024-07-18T20:38:58.034501Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.036774Z", "completed_at": "2024-07-18T20:38:58.036784Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020922183990478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.042168Z", "completed_at": "2024-07-18T20:38:58.053378Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.058259Z", "completed_at": "2024-07-18T20:38:58.058274Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02526545524597168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.037677Z", "completed_at": "2024-07-18T20:38:58.053943Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.059796Z", "completed_at": "2024-07-18T20:38:58.059814Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027534961700439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.047874Z", "completed_at": "2024-07-18T20:38:58.059135Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.066352Z", "completed_at": "2024-07-18T20:38:58.066366Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.030319690704345703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.060845Z", "completed_at": "2024-07-18T20:38:58.069739Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.072137Z", "completed_at": "2024-07-18T20:38:58.072148Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01969623565673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.073658Z", "completed_at": "2024-07-18T20:38:58.092418Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.093945Z", "completed_at": "2024-07-18T20:38:58.093971Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02589702606201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.079625Z", "completed_at": "2024-07-18T20:38:58.099923Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.102177Z", "completed_at": "2024-07-18T20:38:58.102195Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0320429801940918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.085897Z", "completed_at": "2024-07-18T20:38:58.100494Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.103176Z", "completed_at": "2024-07-18T20:38:58.103188Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.031804561614990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.095031Z", "completed_at": "2024-07-18T20:38:58.104721Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.112691Z", "completed_at": "2024-07-18T20:38:58.112705Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02136063575744629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n CAST(\n account_id AS VARCHAR\n ) AS id,\n block_timestamp AS created_ts,\n \"owner\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.106849Z", "completed_at": "2024-07-18T20:38:58.118115Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.134133Z", "completed_at": "2024-07-18T20:38:58.134154Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.032988548278808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.128919Z", "completed_at": "2024-07-18T20:38:58.141882Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.144722Z", "completed_at": "2024-07-18T20:38:58.144739Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.030286550521850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.118706Z", "completed_at": "2024-07-18T20:38:58.143576Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.146335Z", "completed_at": "2024-07-18T20:38:58.146348Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03256487846374512, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.135538Z", "completed_at": "2024-07-18T20:38:58.144148Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.147267Z", "completed_at": "2024-07-18T20:38:58.147278Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029918193817138672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.148977Z", "completed_at": "2024-07-18T20:38:58.158457Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.160760Z", "completed_at": "2024-07-18T20:38:58.160776Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018099546432495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.161753Z", "completed_at": "2024-07-18T20:38:58.183860Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.185945Z", "completed_at": "2024-07-18T20:38:58.185965Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029926061630249023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia", "compiled": true, "compiled_code": "WITH liquidation_events AS (\n SELECT\n account_id,\n reward,\n block_timestamp,\n full_liquidation,\n SUM(\n CASE\n WHEN full_liquidation THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY account_id\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS liquidation_id\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n),\ncumulative_rewards AS (\n SELECT\n CAST(\n le.account_id AS text\n ) AS account_id,\n le.block_timestamp,\n le.reward,\n le.full_liquidation,\n le.liquidation_id,\n SUM(\n reward / 1e18\n) over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp\n ) AS cumulative_reward,\n ROW_NUMBER() over (\n PARTITION BY le.account_id,\n le.liquidation_id\n ORDER BY\n le.block_timestamp DESC\n ) AS rn\n FROM\n liquidation_events le\n ORDER BY\n block_timestamp\n)\nSELECT\n account_id,\n block_timestamp AS ts,\n cumulative_reward AS total_reward\nFROM\n cumulative_rewards\nWHERE\n rn = 1", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.166600Z", "completed_at": "2024-07-18T20:38:58.185256Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.192068Z", "completed_at": "2024-07-18T20:38:58.192090Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03526735305786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.172401Z", "completed_at": "2024-07-18T20:38:58.186944Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.194056Z", "completed_at": "2024-07-18T20:38:58.194070Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.036717891693115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.187555Z", "completed_at": "2024-07-18T20:38:58.197647Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.200336Z", "completed_at": "2024-07-18T20:38:58.200349Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.017475128173828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.201884Z", "completed_at": "2024-07-18T20:38:58.220383Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.222104Z", "completed_at": "2024-07-18T20:38:58.222121Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026119709014892578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.215481Z", "completed_at": "2024-07-18T20:38:58.223340Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.230329Z", "completed_at": "2024-07-18T20:38:58.230342Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030799388885498047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n account_id,\n block_number,\n transaction_hash,\n contract,\n event_name,\n synth_market_id,\n sender,\n \n amount_delta / 1e18\n AS amount_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.209843Z", "completed_at": "2024-07-18T20:38:58.223903Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.231267Z", "completed_at": "2024-07-18T20:38:58.231277Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03299069404602051, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.224501Z", "completed_at": "2024-07-18T20:38:58.232946Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.235529Z", "completed_at": "2024-07-18T20:38:58.235540Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.015977144241333008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.237844Z", "completed_at": "2024-07-18T20:38:58.251555Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.257179Z", "completed_at": "2024-07-18T20:38:58.257196Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025068283081054688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.247853Z", "completed_at": "2024-07-18T20:38:58.258129Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.263600Z", "completed_at": "2024-07-18T20:38:58.263614Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027312040328979492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.252316Z", "completed_at": "2024-07-18T20:38:58.262272Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.264630Z", "completed_at": "2024-07-18T20:38:58.264641Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027658939361572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n account_id,\n \n interest / 1e18\n AS interest\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.258829Z", "completed_at": "2024-07-18T20:38:58.266176Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.268758Z", "completed_at": "2024-07-18T20:38:58.268768Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021711111068725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_markets_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.270905Z", "completed_at": "2024-07-18T20:38:58.277245Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.289941Z", "completed_at": "2024-07-18T20:38:58.289956Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02448582649230957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_markets_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n perps_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n market_symbol,\n market_name\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.282565Z", "completed_at": "2024-07-18T20:38:58.295724Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.298001Z", "completed_at": "2024-07-18T20:38:58.298012Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027843475341796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.277794Z", "completed_at": "2024-07-18T20:38:58.296299Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.299616Z", "completed_at": "2024-07-18T20:38:58.299626Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03007030487060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.291144Z", "completed_at": "2024-07-18T20:38:58.298948Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.302004Z", "completed_at": "2024-07-18T20:38:58.302015Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025548458099365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.306156Z", "completed_at": "2024-07-18T20:38:58.318037Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.328444Z", "completed_at": "2024-07-18T20:38:58.328462Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028010129928588867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.312862Z", "completed_at": "2024-07-18T20:38:58.327789Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.329779Z", "completed_at": "2024-07-18T20:38:58.329791Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02570796012878418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.318627Z", "completed_at": "2024-07-18T20:38:58.330782Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.333306Z", "completed_at": "2024-07-18T20:38:58.333315Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027895689010620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.323295Z", "completed_at": "2024-07-18T20:38:58.331960Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.334825Z", "completed_at": "2024-07-18T20:38:58.334833Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023456335067749023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.339438Z", "completed_at": "2024-07-18T20:38:58.352325Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.362582Z", "completed_at": "2024-07-18T20:38:58.362597Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02852940559387207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.346637Z", "completed_at": "2024-07-18T20:38:58.357516Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.363675Z", "completed_at": "2024-07-18T20:38:58.363686Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028126239776611328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.353133Z", "completed_at": "2024-07-18T20:38:58.364763Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.367339Z", "completed_at": "2024-07-18T20:38:58.367351Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028638839721679688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.358218Z", "completed_at": "2024-07-18T20:38:58.365350Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.368243Z", "completed_at": "2024-07-18T20:38:58.368252Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022379398345947266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.379071Z", "completed_at": "2024-07-18T20:38:58.391957Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.398436Z", "completed_at": "2024-07-18T20:38:58.398459Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028857946395874023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.374138Z", "completed_at": "2024-07-18T20:38:58.392534Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.400082Z", "completed_at": "2024-07-18T20:38:58.400095Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.031089305877685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.385095Z", "completed_at": "2024-07-18T20:38:58.399531Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.402567Z", "completed_at": "2024-07-18T20:38:58.402578Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029812097549438477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.393463Z", "completed_at": "2024-07-18T20:38:58.402017Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.404889Z", "completed_at": "2024-07-18T20:38:58.404898Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0314631462097168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.409695Z", "completed_at": "2024-07-18T20:38:58.425875Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.431510Z", "completed_at": "2024-07-18T20:38:58.431527Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02745819091796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.415989Z", "completed_at": "2024-07-18T20:38:58.432574Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.435181Z", "completed_at": "2024-07-18T20:38:58.435193Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028784513473510742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.421068Z", "completed_at": "2024-07-18T20:38:58.433186Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.436110Z", "completed_at": "2024-07-18T20:38:58.436121Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02777552604675293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.426612Z", "completed_at": "2024-07-18T20:38:58.434528Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.437699Z", "completed_at": "2024-07-18T20:38:58.437710Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02308368682861328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.442620Z", "completed_at": "2024-07-18T20:38:58.457105Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.467179Z", "completed_at": "2024-07-18T20:38:58.467202Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.030339717864990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "compiled": true, "compiled_code": "SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n account_id,\n commitment_time,\n tracking_code,\n \n acceptable_price / 1e18\n AS acceptable_price,\n \n size_delta / 1e18\n AS size_delta\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.452257Z", "completed_at": "2024-07-18T20:38:58.468770Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.470688Z", "completed_at": "2024-07-18T20:38:58.470699Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029485225677490234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.457863Z", "completed_at": "2024-07-18T20:38:58.469394Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.471780Z", "completed_at": "2024-07-18T20:38:58.471792Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029934167861938477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.462503Z", "completed_at": "2024-07-18T20:38:58.472644Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.475358Z", "completed_at": "2024-07-18T20:38:58.475368Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.025885820388793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.478756Z", "completed_at": "2024-07-18T20:38:58.496948Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.499833Z", "completed_at": "2024-07-18T20:38:58.499854Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0267179012298584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.485839Z", "completed_at": "2024-07-18T20:38:58.505451Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.507882Z", "completed_at": "2024-07-18T20:38:58.507896Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.031227588653564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.490965Z", "completed_at": "2024-07-18T20:38:58.507101Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.510122Z", "completed_at": "2024-07-18T20:38:58.510132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03278923034667969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.501021Z", "completed_at": "2024-07-18T20:38:58.509573Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.512349Z", "completed_at": "2024-07-18T20:38:58.512360Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027383804321289062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.514615Z", "completed_at": "2024-07-18T20:38:58.522186Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.528451Z", "completed_at": "2024-07-18T20:38:58.528462Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019732236862182617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.523282Z", "completed_at": "2024-07-18T20:38:58.539457Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.541012Z", "completed_at": "2024-07-18T20:38:58.541027Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.027184724807739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.534026Z", "completed_at": "2024-07-18T20:38:58.541888Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.544272Z", "completed_at": "2024-07-18T20:38:58.544283Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02286243438720703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.529391Z", "completed_at": "2024-07-18T20:38:58.542449Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.545192Z", "completed_at": "2024-07-18T20:38:58.545200Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025190353393554688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.546052Z", "completed_at": "2024-07-18T20:38:58.555785Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.562437Z", "completed_at": "2024-07-18T20:38:58.562452Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022284746170043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.557666Z", "completed_at": "2024-07-18T20:38:58.570335Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.576655Z", "completed_at": "2024-07-18T20:38:58.576670Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023927927017211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.565507Z", "completed_at": "2024-07-18T20:38:58.577841Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.580350Z", "completed_at": "2024-07-18T20:38:58.580361Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024142026901245117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.570928Z", "completed_at": "2024-07-18T20:38:58.579794Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.587098Z", "completed_at": "2024-07-18T20:38:58.587115Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.030243873596191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.581317Z", "completed_at": "2024-07-18T20:38:58.590537Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.597996Z", "completed_at": "2024-07-18T20:38:58.598010Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02236652374267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.591742Z", "completed_at": "2024-07-18T20:38:58.600939Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.615629Z", "completed_at": "2024-07-18T20:38:58.615645Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.029347658157348633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.601548Z", "completed_at": "2024-07-18T20:38:58.618179Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.624819Z", "completed_at": "2024-07-18T20:38:58.624831Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.033853769302368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.610098Z", "completed_at": "2024-07-18T20:38:58.624152Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.626509Z", "completed_at": "2024-07-18T20:38:58.626521Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029320240020751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.618818Z", "completed_at": "2024-07-18T20:38:58.627404Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.634199Z", "completed_at": "2024-07-18T20:38:58.634211Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.019513368606567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.628707Z", "completed_at": "2024-07-18T20:38:58.636447Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.638997Z", "completed_at": "2024-07-18T20:38:58.639010Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.015561580657958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.640505Z", "completed_at": "2024-07-18T20:38:58.652931Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.661799Z", "completed_at": "2024-07-18T20:38:58.661813Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026839494705200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.645766Z", "completed_at": "2024-07-18T20:38:58.653532Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.662719Z", "completed_at": "2024-07-18T20:38:58.662729Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02701878547668457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.654120Z", "completed_at": "2024-07-18T20:38:58.795675Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.798561Z", "completed_at": "2024-07-18T20:38:58.798573Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.15879297256469727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.663705Z", "completed_at": "2024-07-18T20:38:58.797959Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.800744Z", "completed_at": "2024-07-18T20:38:58.800753Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.14862966537475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.802978Z", "completed_at": "2024-07-18T20:38:58.814402Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.820619Z", "completed_at": "2024-07-18T20:38:58.820635Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02352595329284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.808733Z", "completed_at": "2024-07-18T20:38:58.815658Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.826065Z", "completed_at": "2024-07-18T20:38:58.826075Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026645421981811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.816212Z", "completed_at": "2024-07-18T20:38:58.827795Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.830511Z", "completed_at": "2024-07-18T20:38:58.830520Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022678613662719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.821774Z", "completed_at": "2024-07-18T20:38:58.829260Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.832077Z", "completed_at": "2024-07-18T20:38:58.832086Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019254684448242188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.835553Z", "completed_at": "2024-07-18T20:38:58.848313Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.853851Z", "completed_at": "2024-07-18T20:38:58.853864Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02417278289794922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.840777Z", "completed_at": "2024-07-18T20:38:58.854720Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.860801Z", "completed_at": "2024-07-18T20:38:58.860816Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.029474258422851562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.849656Z", "completed_at": "2024-07-18T20:38:58.861716Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.864456Z", "completed_at": "2024-07-18T20:38:58.864468Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024435043334960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.855368Z", "completed_at": "2024-07-18T20:38:58.863824Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.866683Z", "completed_at": "2024-07-18T20:38:58.866691Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019965171813964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.868477Z", "completed_at": "2024-07-18T20:38:58.878723Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.880669Z", "completed_at": "2024-07-18T20:38:58.880680Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018299579620361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.875195Z", "completed_at": "2024-07-18T20:38:58.882313Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.894040Z", "completed_at": "2024-07-18T20:38:58.894050Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028102874755859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.882888Z", "completed_at": "2024-07-18T20:38:58.895738Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.898398Z", "completed_at": "2024-07-18T20:38:58.898407Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024066925048828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.888001Z", "completed_at": "2024-07-18T20:38:58.897817Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.903511Z", "completed_at": "2024-07-18T20:38:58.903521Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024327993392944336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.899959Z", "completed_at": "2024-07-18T20:38:58.912093Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.914357Z", "completed_at": "2024-07-18T20:38:58.914369Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019433259963989258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.907515Z", "completed_at": "2024-07-18T20:38:58.915421Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.921912Z", "completed_at": "2024-07-18T20:38:58.921929Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022728681564331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.916604Z", "completed_at": "2024-07-18T20:38:58.927806Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.930274Z", "completed_at": "2024-07-18T20:38:58.930287Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023724794387817383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.922908Z", "completed_at": "2024-07-18T20:38:58.929031Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.935668Z", "completed_at": "2024-07-18T20:38:58.935682Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.022986650466918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.931306Z", "completed_at": "2024-07-18T20:38:58.938880Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.947524Z", "completed_at": "2024-07-18T20:38:58.947536Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021346330642700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.939525Z", "completed_at": "2024-07-18T20:38:58.949479Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.954911Z", "completed_at": "2024-07-18T20:38:58.954924Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.025392770767211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.955992Z", "completed_at": "2024-07-18T20:38:58.962364Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.964822Z", "completed_at": "2024-07-18T20:38:58.964833Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.018026351928710938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.951617Z", "completed_at": "2024-07-18T20:38:58.963571Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.970256Z", "completed_at": "2024-07-18T20:38:58.970265Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02425074577331543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_markets_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.965751Z", "completed_at": "2024-07-18T20:38:58.978125Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.980222Z", "completed_at": "2024-07-18T20:38:58.980232Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019870281219482422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.973381Z", "completed_at": "2024-07-18T20:38:58.981833Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:58.988201Z", "completed_at": "2024-07-18T20:38:58.988212Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024125099182128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.983713Z", "completed_at": "2024-07-18T20:38:58.997538Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.000015Z", "completed_at": "2024-07-18T20:38:59.000026Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02132701873779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:58.989157Z", "completed_at": "2024-07-18T20:38:58.998798Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.005590Z", "completed_at": "2024-07-18T20:38:59.005600Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026273250579833984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.000921Z", "completed_at": "2024-07-18T20:38:59.008648Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.014968Z", "completed_at": "2024-07-18T20:38:59.014978Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.019257545471191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.009267Z", "completed_at": "2024-07-18T20:38:59.017218Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.027417Z", "completed_at": "2024-07-18T20:38:59.027432Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02820897102355957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.018498Z", "completed_at": "2024-07-18T20:38:59.030154Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.032732Z", "completed_at": "2024-07-18T20:38:59.032741Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019156217575073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.022840Z", "completed_at": "2024-07-18T20:38:59.030799Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.033688Z", "completed_at": "2024-07-18T20:38:59.033700Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.01949763298034668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.034588Z", "completed_at": "2024-07-18T20:38:59.048918Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.051238Z", "completed_at": "2024-07-18T20:38:59.051254Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022860288619995117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.041688Z", "completed_at": "2024-07-18T20:38:59.052164Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.058791Z", "completed_at": "2024-07-18T20:38:59.058802Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02686285972595215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.053364Z", "completed_at": "2024-07-18T20:38:59.065908Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.068644Z", "completed_at": "2024-07-18T20:38:59.068667Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02049422264099121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.059693Z", "completed_at": "2024-07-18T20:38:59.068029Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.075306Z", "completed_at": "2024-07-18T20:38:59.075316Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025679349899291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.069668Z", "completed_at": "2024-07-18T20:38:59.082738Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.085726Z", "completed_at": "2024-07-18T20:38:59.085736Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02154827117919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet", "compiled": true, "compiled_code": "WITH bought AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n \n synth_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n),\nsold AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n price / 1e18\n AS price,\n -1 * \n amount_returned / 1e18\n AS amount,\n referrer\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n bought\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n price,\n amount,\n referrer\nFROM\n sold\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.077240Z", "completed_at": "2024-07-18T20:38:59.085174Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.087860Z", "completed_at": "2024-07-18T20:38:59.087869Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020595073699951172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.089583Z", "completed_at": "2024-07-18T20:38:59.105129Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.111794Z", "completed_at": "2024-07-18T20:38:59.111809Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028472185134887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.094403Z", "completed_at": "2024-07-18T20:38:59.105780Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.112995Z", "completed_at": "2024-07-18T20:38:59.113006Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02869248390197754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.107049Z", "completed_at": "2024-07-18T20:38:59.120443Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.123186Z", "completed_at": "2024-07-18T20:38:59.123198Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02061915397644043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.113973Z", "completed_at": "2024-07-18T20:38:59.121961Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.124687Z", "completed_at": "2024-07-18T20:38:59.124698Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021092891693115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.126887Z", "completed_at": "2024-07-18T20:38:59.138841Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.141198Z", "completed_at": "2024-07-18T20:38:59.141209Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.020024776458740234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.132251Z", "completed_at": "2024-07-18T20:38:59.140003Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.146685Z", "completed_at": "2024-07-18T20:38:59.146696Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02426290512084961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.142101Z", "completed_at": "2024-07-18T20:38:59.155531Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.158240Z", "completed_at": "2024-07-18T20:38:59.158251Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.0213468074798584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.147594Z", "completed_at": "2024-07-18T20:38:59.156989Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.159746Z", "completed_at": "2024-07-18T20:38:59.159756Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021892786026000977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.161935Z", "completed_at": "2024-07-18T20:38:59.174373Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.180422Z", "completed_at": "2024-07-18T20:38:59.180437Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02424025535583496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.167259Z", "completed_at": "2024-07-18T20:38:59.175035Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.181615Z", "completed_at": "2024-07-18T20:38:59.181624Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024228572845458984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.176226Z", "completed_at": "2024-07-18T20:38:59.188469Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.190831Z", "completed_at": "2024-07-18T20:38:59.190843Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.018871784210205078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.182610Z", "completed_at": "2024-07-18T20:38:59.191789Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.194578Z", "completed_at": "2024-07-18T20:38:59.194587Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0218355655670166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.196293Z", "completed_at": "2024-07-18T20:38:59.210471Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.216581Z", "completed_at": "2024-07-18T20:38:59.216594Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026575803756713867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.202362Z", "completed_at": "2024-07-18T20:38:59.215246Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.217887Z", "completed_at": "2024-07-18T20:38:59.217897Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025626659393310547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.211284Z", "completed_at": "2024-07-18T20:38:59.218798Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.225571Z", "completed_at": "2024-07-18T20:38:59.225582Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024783611297607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.219372Z", "completed_at": "2024-07-18T20:38:59.228741Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.231222Z", "completed_at": "2024-07-18T20:38:59.231231Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021593570709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.236821Z", "completed_at": "2024-07-18T20:38:59.248112Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.250299Z", "completed_at": "2024-07-18T20:38:59.250313Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.023056507110595703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.232133Z", "completed_at": "2024-07-18T20:38:59.248848Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.251864Z", "completed_at": "2024-07-18T20:38:59.251874Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025303125381469727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.243362Z", "completed_at": "2024-07-18T20:38:59.251269Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.254094Z", "completed_at": "2024-07-18T20:38:59.254105Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023602008819580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.255721Z", "completed_at": "2024-07-18T20:38:59.266705Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.277348Z", "completed_at": "2024-07-18T20:38:59.277367Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.028045654296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia", "compiled": true, "compiled_code": "WITH wraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n \n amount_wrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n),\nunwraps AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash AS tx_hash,\n synth_market_id,\n -1 * \n amount_unwrapped / 1e18\n AS amount_wrapped\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n)\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n wraps\nUNION ALL\nSELECT\n id,\n ts,\n block_number,\n tx_hash,\n synth_market_id,\n amount_wrapped\nFROM\n unwraps\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.267325Z", "completed_at": "2024-07-18T20:38:59.283096Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.285711Z", "completed_at": "2024-07-18T20:38:59.285723Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02494955062866211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.272775Z", "completed_at": "2024-07-18T20:38:59.284989Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.287867Z", "completed_at": "2024-07-18T20:38:59.287878Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.024010896682739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.278525Z", "completed_at": "2024-07-18T20:38:59.287296Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.290117Z", "completed_at": "2024-07-18T20:38:59.290126Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024797677993774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.292703Z", "completed_at": "2024-07-18T20:38:59.301203Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.313846Z", "completed_at": "2024-07-18T20:38:59.313863Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027338743209838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.301809Z", "completed_at": "2024-07-18T20:38:59.319441Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.322077Z", "completed_at": "2024-07-18T20:38:59.322090Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03017568588256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.306632Z", "completed_at": "2024-07-18T20:38:59.321442Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.324260Z", "completed_at": "2024-07-18T20:38:59.324269Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02603459358215332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.315026Z", "completed_at": "2024-07-18T20:38:59.322984Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.325987Z", "completed_at": "2024-07-18T20:38:59.325997Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02625131607055664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.329800Z", "completed_at": "2024-07-18T20:38:59.342395Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.348246Z", "completed_at": "2024-07-18T20:38:59.348262Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024842500686645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.338016Z", "completed_at": "2024-07-18T20:38:59.353887Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.356185Z", "completed_at": "2024-07-18T20:38:59.356197Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02802729606628418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.343756Z", "completed_at": "2024-07-18T20:38:59.355509Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.358417Z", "completed_at": "2024-07-18T20:38:59.358427Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023813486099243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.349415Z", "completed_at": "2024-07-18T20:38:59.357813Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.360604Z", "completed_at": "2024-07-18T20:38:59.360615Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024590253829956055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.362934Z", "completed_at": "2024-07-18T20:38:59.372950Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.383291Z", "completed_at": "2024-07-18T20:38:59.383310Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02626943588256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.373585Z", "completed_at": "2024-07-18T20:38:59.388522Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.390901Z", "completed_at": "2024-07-18T20:38:59.390914Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02873063087463379, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.378698Z", "completed_at": "2024-07-18T20:38:59.390280Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.393128Z", "completed_at": "2024-07-18T20:38:59.393137Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02289581298828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.384537Z", "completed_at": "2024-07-18T20:38:59.391879Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.394807Z", "completed_at": "2024-07-18T20:38:59.394816Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023159265518188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia", "compiled": true, "compiled_code": "WITH rewards_distributed AS (\n SELECT\n block_timestamp AS ts,\n CAST(\n pool_id AS INTEGER\n ) AS pool_id,\n collateral_type,\n distributor,\n \n amount / 1e18\n AS amount,\n TO_TIMESTAMP(\"start\") AS ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n),\ndistributors AS (\n SELECT\n CAST(distributor_address AS TEXT) AS distributor_address,\n CAST(token_symbol AS TEXT) AS token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.398505Z", "completed_at": "2024-07-18T20:38:59.411002Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.419267Z", "completed_at": "2024-07-18T20:38:59.419282Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027006149291992188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere distributor_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.406487Z", "completed_at": "2024-07-18T20:38:59.420415Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.427222Z", "completed_at": "2024-07-18T20:38:59.427234Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.030259132385253906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.412374Z", "completed_at": "2024-07-18T20:38:59.426527Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.429637Z", "completed_at": "2024-07-18T20:38:59.429647Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026201725006103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_address is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.421022Z", "completed_at": "2024-07-18T20:38:59.429021Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.431895Z", "completed_at": "2024-07-18T20:38:59.431905Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027096033096313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\nwhere token_symbol is null\n\n\n", "relation_name": null}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.434238Z", "completed_at": "2024-07-18T20:38:59.441275Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.449740Z", "completed_at": "2024-07-18T20:38:59.449757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021585941314697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.441878Z", "completed_at": "2024-07-18T20:38:59.454479Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.456714Z", "completed_at": "2024-07-18T20:38:59.456725Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02325749397277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_base_sepolia", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.445857Z", "completed_at": "2024-07-18T20:38:59.456111Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.458866Z", "completed_at": "2024-07-18T20:38:59.458876Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02037358283996582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.450861Z", "completed_at": "2024-07-18T20:38:59.457654Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.460476Z", "completed_at": "2024-07-18T20:38:59.460484Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020584821701049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.464542Z", "completed_at": "2024-07-18T20:38:59.471303Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.483116Z", "completed_at": "2024-07-18T20:38:59.483134Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02504873275756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.471894Z", "completed_at": "2024-07-18T20:38:59.488202Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.490694Z", "completed_at": "2024-07-18T20:38:59.490706Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027840614318847656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet", "compiled": true, "compiled_code": "\nWITH debt AS (\n SELECT\n ts,\n 2 AS market_id,\n debt * -1 AS market_pnl\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\n)\nSELECT\n ts,\n market_id,\n market_pnl\nFROM\n debt\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.478948Z", "completed_at": "2024-07-18T20:38:59.489908Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.493001Z", "completed_at": "2024-07-18T20:38:59.493009Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025003910064697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_base_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.484336Z", "completed_at": "2024-07-18T20:38:59.492409Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.495257Z", "completed_at": "2024-07-18T20:38:59.495265Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02582573890686035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.497701Z", "completed_at": "2024-07-18T20:38:59.504076Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.509366Z", "completed_at": "2024-07-18T20:38:59.509378Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017818450927734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.505309Z", "completed_at": "2024-07-18T20:38:59.520780Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.523376Z", "completed_at": "2024-07-18T20:38:59.523389Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.026601552963256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.510270Z", "completed_at": "2024-07-18T20:38:59.522671Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.525607Z", "completed_at": "2024-07-18T20:38:59.525620Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023810625076293945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.514407Z", "completed_at": "2024-07-18T20:38:59.524316Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.527240Z", "completed_at": "2024-07-18T20:38:59.527250Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023876667022705078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.528202Z", "completed_at": "2024-07-18T20:38:59.534845Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.537260Z", "completed_at": "2024-07-18T20:38:59.537269Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015446186065673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.538170Z", "completed_at": "2024-07-18T20:38:59.555535Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.557820Z", "completed_at": "2024-07-18T20:38:59.557834Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.025276660919189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.543264Z", "completed_at": "2024-07-18T20:38:59.557100Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.560151Z", "completed_at": "2024-07-18T20:38:59.560161Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02605915069580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.551019Z", "completed_at": "2024-07-18T20:38:59.558936Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.562151Z", "completed_at": "2024-07-18T20:38:59.562160Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026247501373291016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_orders_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.563067Z", "completed_at": "2024-07-18T20:38:59.572416Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.574953Z", "completed_at": "2024-07-18T20:38:59.574963Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01863241195678711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_trades_base_mainnet", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.575832Z", "completed_at": "2024-07-18T20:38:59.595737Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.598730Z", "completed_at": "2024-07-18T20:38:59.598744Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028678178787231445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.583496Z", "completed_at": "2024-07-18T20:38:59.597600Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.600275Z", "completed_at": "2024-07-18T20:38:59.600284Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.028647184371948242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.590967Z", "completed_at": "2024-07-18T20:38:59.598135Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.601225Z", "completed_at": "2024-07-18T20:38:59.601237Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027676105499267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_orders_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n oc.id,\n oc.block_timestamp AS ts,\n oc.block_number,\n oc.transaction_hash,\n oc.contract,\n oc.market_id,\n markets.market_symbol,\n CAST(\n oc.account_id AS text\n ) AS account_id,\n oc.order_type,\n \n oc.size_delta / 1e18\n AS SIZE,\n \n oc.acceptable_price / 1e18\n AS acceptable_price,\n oc.settlement_time,\n oc.expiration_time,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n oc.sender\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n oc\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON oc.market_id = markets.id\n)\nSELECT\n *\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.602964Z", "completed_at": "2024-07-18T20:38:59.612814Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.615176Z", "completed_at": "2024-07-18T20:38:59.615186Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018686532974243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_trades_base_sepolia", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pos.id,\n pos.block_timestamp AS ts,\n pos.block_number,\n pos.transaction_hash,\n pos.contract,\n pos.market_id,\n markets.market_symbol,\n CAST(\n pos.account_id AS text\n ) AS account_id,\n \n fill_price / 1e18\n AS fill_price,\n \n pnl / 1e18\n AS pnl,\n \n accrued_funding / 1e18\n AS accrued_funding,\n \n size_delta / 1e18\n AS trade_size,\n \n new_size / 1e18\n AS position_size,\n \n total_fees / 1e18\n AS total_fees,\n \n referral_fees / 1e18\n AS referral_fees,\n \n collected_fees / 1e18\n AS collected_fees,\n \n settlement_reward / 1e18\n AS settlement_reward,\n \n LEFT(\n REGEXP_REPLACE(\n encode(\n DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),\n 'escape'\n ) :: text,\n '\\\\000',\n '',\n 'g'\n ),\n 20\n )\n AS tracking_code,\n pos.settler\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\" AS pos\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" AS markets\n ON pos.market_id = markets.id\n)\nSELECT\n *,\n ABS(\n fill_price * trade_size\n ) AS notional_trade_size,\n fill_price * position_size AS notional_position_size,\n total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,\n total_fees - settlement_reward AS exchange_fees\nFROM\n base", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.621284Z", "completed_at": "2024-07-18T20:38:59.635090Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.637758Z", "completed_at": "2024-07-18T20:38:59.637771Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.026453495025634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.616075Z", "completed_at": "2024-07-18T20:38:59.635673Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.638701Z", "completed_at": "2024-07-18T20:38:59.638710Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.028127670288085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.626511Z", "completed_at": "2024-07-18T20:38:59.637163Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.640390Z", "completed_at": "2024-07-18T20:38:59.640398Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02832627296447754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.642755Z", "completed_at": "2024-07-18T20:38:59.651436Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.657505Z", "completed_at": "2024-07-18T20:38:59.657516Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02127861976623535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_synth_supply_base_sepolia", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.653179Z", "completed_at": "2024-07-18T20:38:59.667733Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.670565Z", "completed_at": "2024-07-18T20:38:59.670579Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02201986312866211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.658468Z", "completed_at": "2024-07-18T20:38:59.668616Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.671494Z", "completed_at": "2024-07-18T20:38:59.671503Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.022190332412719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.661971Z", "completed_at": "2024-07-18T20:38:59.669976Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.672986Z", "completed_at": "2024-07-18T20:38:59.672994Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022917747497558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.675378Z", "completed_at": "2024-07-18T20:38:59.683721Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.689004Z", "completed_at": "2024-07-18T20:38:59.689016Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019841670989990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.685471Z", "completed_at": "2024-07-18T20:38:59.702528Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.704585Z", "completed_at": "2024-07-18T20:38:59.704598Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0237123966217041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.690123Z", "completed_at": "2024-07-18T20:38:59.703236Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.705644Z", "completed_at": "2024-07-18T20:38:59.705652Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02407670021057129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.696813Z", "completed_at": "2024-07-18T20:38:59.706550Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.709367Z", "completed_at": "2024-07-18T20:38:59.709377Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.027022123336791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_base_mainnet", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.710331Z", "completed_at": "2024-07-18T20:38:59.717022Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.722293Z", "completed_at": "2024-07-18T20:38:59.722309Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018529653549194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.718786Z", "completed_at": "2024-07-18T20:38:59.729128Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.735203Z", "completed_at": "2024-07-18T20:38:59.735215Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021306276321411133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.723279Z", "completed_at": "2024-07-18T20:38:59.733878Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.736282Z", "completed_at": "2024-07-18T20:38:59.736291Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02172231674194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.729868Z", "completed_at": "2024-07-18T20:38:59.737243Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.739867Z", "completed_at": "2024-07-18T20:38:59.739876Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02182483673095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.740983Z", "completed_at": "2024-07-18T20:38:59.756605Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.761660Z", "completed_at": "2024-07-18T20:38:59.761677Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027274608612060547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_base_sepolia", "compiled": true, "compiled_code": "WITH all_prices AS (\n SELECT\n ts,\n NULL AS market_address,\n market_symbol,\n price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\n UNION ALL\n SELECT\n ts,\n NULL AS market_address,\n 'SNX' AS market_symbol,\n snx_price AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n WHERE\n snx_price > 0\n UNION ALL\n SELECT\n ts,\n collateral_type AS market_address,\n NULL AS market_symbol,\n collateral_value / amount AS price\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\n)\nSELECT\n p.ts,\n p.market_address,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) AS market_symbol,\n p.price\nFROM\n all_prices p\n LEFT JOIN tokens t\n ON LOWER(\n p.market_address\n ) = LOWER(\n t.token_address\n )", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.757236Z", "completed_at": "2024-07-18T20:38:59.767497Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.770521Z", "completed_at": "2024-07-18T20:38:59.770532Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02183079719543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.752623Z", "completed_at": "2024-07-18T20:38:59.768316Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.771448Z", "completed_at": "2024-07-18T20:38:59.771458Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023616552352905273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n account_id,\n total_fees,\n notional_trade_size,\n 1 AS trades,\n SUM(\n total_fees\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_fees,\n SUM(\n notional_trade_size\n ) over (\n PARTITION BY account_id\n ORDER BY\n ts\n ) AS cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n account_id,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(trades) AS trades,\n SUM(total_fees) AS fees,\n SUM(notional_trade_size) AS volume,\n MAX(cumulative_fees) AS cumulative_fees,\n MAX(cumulative_volume) AS cumulative_volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n account_id,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ninc AS (\n SELECT\n h.ts,\n h.account_id,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.fees,\n 0\n ) AS fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n COALESCE(\n h.cumulative_fees,\n 0\n ) AS cumulative_fees,\n COALESCE(\n h.cumulative_volume,\n 0\n ) AS cumulative_volume\n FROM\n inc_trades h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n AND h.account_id = l.account_id\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.762731Z", "completed_at": "2024-07-18T20:38:59.769959Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.772920Z", "completed_at": "2024-07-18T20:38:59.772931Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.021106719970703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n ts,\n market_symbol,\n exchange_fees,\n referral_fees,\n collected_fees,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n market_symbol,\n amount_liquidated,\n 1 AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\n),\ninc_trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume\n FROM\n trades\n GROUP BY\n 1,\n 2\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n liq\n GROUP BY\n 1,\n 2\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n trades\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n trades\n ) AS m\n GROUP BY\n m.market_symbol\n),\ninc AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n COALESCE(\n h.trades,\n 0\n ) AS trades,\n COALESCE(\n h.exchange_fees,\n 0\n ) AS exchange_fees,\n COALESCE(\n h.referral_fees,\n 0\n ) AS referral_fees,\n COALESCE(\n h.collected_fees,\n 0\n ) AS collected_fees,\n COALESCE(\n h.volume,\n 0\n ) AS volume,\n COALESCE(\n l.amount_liquidated,\n 0\n ) AS amount_liquidated,\n COALESCE(\n l.liquidations,\n 0\n ) AS liquidations,\n SUM(\n h.exchange_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_exchange_fees,\n SUM(\n h.referral_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_referral_fees,\n SUM(\n h.collected_fees\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_collected_fees,\n SUM(\n h.volume\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS cumulative_volume\n FROM\n dim\n LEFT JOIN inc_trades h\n ON dim.ts = h.ts\n AND dim.market_symbol = h.market_symbol\n LEFT JOIN inc_liq l\n ON dim.ts = l.ts\n AND dim.market_symbol = l.market_symbol\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.775369Z", "completed_at": "2024-07-18T20:38:59.782521Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.784757Z", "completed_at": "2024-07-18T20:38:59.784767Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01573777198791504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(notional_trade_size) AS volume,\n SUM(1) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.790296Z", "completed_at": "2024-07-18T20:38:59.801297Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.803690Z", "completed_at": "2024-07-18T20:38:59.803700Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02264881134033203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.785694Z", "completed_at": "2024-07-18T20:38:59.801861Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.804588Z", "completed_at": "2024-07-18T20:38:59.804599Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024362564086914062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.796704Z", "completed_at": "2024-07-18T20:38:59.802463Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.805518Z", "completed_at": "2024-07-18T20:38:59.805525Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.023735523223876953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.809313Z", "completed_at": "2024-07-18T20:38:59.815578Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.820716Z", "completed_at": "2024-07-18T20:38:59.820730Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017818689346313477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.817304Z", "completed_at": "2024-07-18T20:38:59.829974Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.832649Z", "completed_at": "2024-07-18T20:38:59.832660Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.019982576370239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.821669Z", "completed_at": "2024-07-18T20:38:59.830854Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.833589Z", "completed_at": "2024-07-18T20:38:59.833597Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.020058870315551758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.824989Z", "completed_at": "2024-07-18T20:38:59.832083Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.835023Z", "completed_at": "2024-07-18T20:38:59.835031Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.020856618881225586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_stats_hourly_base_mainnet\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.837333Z", "completed_at": "2024-07-18T20:38:59.845405Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.856227Z", "completed_at": "2024-07-18T20:38:59.856241Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024904966354370117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_tracking_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.852782Z", "completed_at": "2024-07-18T20:38:59.861865Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.863860Z", "completed_at": "2024-07-18T20:38:59.863872Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.02104949951171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH hourly AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n keeper,\n settlement_rewards,\n amount_settled,\n trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_rewards) AS settlement_reward_total,\n SUM(amount_settled) AS amount_settled_total\n FROM\n hourly\n GROUP BY\n 1\n)\nSELECT\n hourly.ts,\n keeper,\n SUM(trades) AS trades,\n SUM(settlement_rewards) AS settlement_rewards,\n SUM(amount_settled) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct\nFROM\n hourly\n JOIN total\n ON hourly.ts = total.ts\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.846536Z", "completed_at": "2024-07-18T20:38:59.862421Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.865479Z", "completed_at": "2024-07-18T20:38:59.865490Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023424148559570312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH prices AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n market_symbol,\n LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS price\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\ndim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.market_symbol\n FROM\n (\n SELECT\n ts\n FROM\n prices\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT market_symbol\n FROM\n prices\n ) AS m\n GROUP BY\n m.market_symbol\n),\nffill AS (\n SELECT\n dim.ts,\n dim.market_symbol,\n prices.price,\n SUM(\n CASE\n WHEN prices.price IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n PARTITION BY dim.market_symbol\n ORDER BY\n dim.ts\n ) AS price_id\n FROM\n dim\n LEFT JOIN prices\n ON dim.ts = prices.ts\n AND dim.market_symbol = prices.market_symbol\n),\nhourly_prices AS (\n SELECT\n ts,\n market_symbol,\n FIRST_VALUE(price) over (\n PARTITION BY price_id,\n market_symbol\n ORDER BY\n ts\n ) AS price\n FROM\n ffill\n)\nSELECT\n *\nFROM\n hourly_prices\nWHERE\n price IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.857427Z", "completed_at": "2024-07-18T20:38:59.864855Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.867650Z", "completed_at": "2024-07-18T20:38:59.867659Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024132728576660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.869402Z", "completed_at": "2024-07-18T20:38:59.876413Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.882160Z", "completed_at": "2024-07-18T20:38:59.882172Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01916050910949707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\nGROUP BY\n 1,\n 2", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.877598Z", "completed_at": "2024-07-18T20:38:59.892435Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.894187Z", "completed_at": "2024-07-18T20:38:59.894198Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.021466970443725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH inc_market AS (\n SELECT\n ts,\n market_symbol,\n trades,\n exchange_fees,\n referral_fees,\n collected_fees,\n volume,\n liquidations,\n cumulative_exchange_fees,\n cumulative_referral_fees,\n cumulative_collected_fees,\n cumulative_volume\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\n),\nliq AS (\n SELECT\n ts,\n total_reward,\n 1 AS liquidated_accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\n),\ninc_liq AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(total_reward) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts\n FROM\n liq\n GROUP BY\n 1\n),\ninc_trade AS (\n SELECT\n ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,\n SUM(cumulative_referral_fees) AS cumulative_referral_fees,\n SUM(cumulative_collected_fees) AS cumulative_collected_fees,\n SUM(cumulative_volume) AS cumulative_volume\n FROM\n inc_market\n GROUP BY\n 1\n),\ninc AS (\n SELECT\n h.ts,\n h.trades,\n h.exchange_fees,\n h.referral_fees,\n h.collected_fees,\n h.volume,\n COALESCE(\n l.liquidation_rewards,\n 0\n ) AS liquidation_rewards,\n COALESCE(\n l.liquidated_accounts,\n 0\n ) AS liquidated_accounts,\n h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_volume\n FROM\n inc_trade h\n LEFT JOIN inc_liq l\n ON h.ts = l.ts\n)\nSELECT\n *\nFROM\n inc", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.883056Z", "completed_at": "2024-07-18T20:38:59.895120Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.897814Z", "completed_at": "2024-07-18T20:38:59.897824Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.023546457290649414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(trades) AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\naccounts AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n tracking_code,\n COUNT(\n DISTINCT account_id\n ) AS accounts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\ntotal AS (\n SELECT\n ts,\n SUM(exchange_fees) AS exchange_fees_total,\n SUM(referral_fees) AS referral_fees_total,\n SUM(collected_fees) AS collected_fees_total,\n SUM(volume) AS volume_total,\n SUM(trades) AS trades_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n trades.tracking_code,\n trades.exchange_fees,\n trades.referral_fees,\n trades.collected_fees,\n trades.volume,\n trades.trades,\n accounts.accounts,\n CASE\n WHEN total.exchange_fees_total = 0 THEN 0\n ELSE trades.exchange_fees / total.exchange_fees_total\n END AS exchange_fees_share,\n CASE\n WHEN total.referral_fees_total = 0 THEN 0\n ELSE trades.referral_fees / total.referral_fees_total\n END AS referral_fees_share,\n CASE\n WHEN total.collected_fees_total = 0 THEN 0\n ELSE trades.collected_fees / total.collected_fees_total\n END AS collected_fees_share,\n CASE\n WHEN total.volume_total = 0 THEN 0\n ELSE trades.volume / total.volume_total\n END AS volume_share,\n CASE\n WHEN total.trades_total = 0 THEN 0\n ELSE trades.trades / total.trades_total\n END AS trades_share\nFROM\n trades\n JOIN accounts\n ON trades.ts = accounts.ts\n AND trades.tracking_code = accounts.tracking_code\n JOIN total\n ON trades.ts = total.ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_tracking_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.886927Z", "completed_at": "2024-07-18T20:38:59.895681Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.898707Z", "completed_at": "2024-07-18T20:38:59.898718Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022981643676757812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.902301Z", "completed_at": "2024-07-18T20:38:59.911849Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.913999Z", "completed_at": "2024-07-18T20:38:59.914012Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017930030822753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.907599Z", "completed_at": "2024-07-18T20:38:59.918330Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.924489Z", "completed_at": "2024-07-18T20:38:59.924499Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.024457693099975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.915017Z", "completed_at": "2024-07-18T20:38:59.925474Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.928145Z", "completed_at": "2024-07-18T20:38:59.928154Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02202296257019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_hourly_base_mainnet\"\nGROUP BY\n 1", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_stats_daily_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.918928Z", "completed_at": "2024-07-18T20:38:59.926860Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.929742Z", "completed_at": "2024-07-18T20:38:59.929751Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.022999048233032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.931953Z", "completed_at": "2024-07-18T20:38:59.943463Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.948098Z", "completed_at": "2024-07-18T20:38:59.948109Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022061586380004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(liquidation_rewards) AS liquidation_rewards,\n SUM(liquidated_accounts) AS liquidated_accounts,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_hourly_base_sepolia\"\nGROUP BY\n 1", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_stats_daily_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.938295Z", "completed_at": "2024-07-18T20:38:59.957895Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.959548Z", "completed_at": "2024-07-18T20:38:59.959560Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.029068946838378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.954651Z", "completed_at": "2024-07-18T20:38:59.960569Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.963237Z", "completed_at": "2024-07-18T20:38:59.963248Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.02573704719543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.949175Z", "completed_at": "2024-07-18T20:38:59.961773Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.964696Z", "completed_at": "2024-07-18T20:38:59.964706Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.02796339988708496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.966975Z", "completed_at": "2024-07-18T20:38:59.977544Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.979472Z", "completed_at": "2024-07-18T20:38:59.979485Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01843857765197754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.973394Z", "completed_at": "2024-07-18T20:38:59.984870Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.992545Z", "completed_at": "2024-07-18T20:38:59.992560Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.027090787887573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.980413Z", "completed_at": "2024-07-18T20:38:59.993632Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.996262Z", "completed_at": "2024-07-18T20:38:59.996273Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.024425506591796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:38:59.985642Z", "completed_at": "2024-07-18T20:38:59.995618Z"}, {"name": "execute", "started_at": "2024-07-18T20:38:59.998415Z", "completed_at": "2024-07-18T20:38:59.998424Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.025804758071899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.000123Z", "completed_at": "2024-07-18T20:39:00.017761Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.020315Z", "completed_at": "2024-07-18T20:39:00.020334Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026175975799560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.011769Z", "completed_at": "2024-07-18T20:39:00.019720Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.032122Z", "completed_at": "2024-07-18T20:39:00.032140Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.0345456600189209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.021336Z", "completed_at": "2024-07-18T20:39:00.034511Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.037390Z", "completed_at": "2024-07-18T20:39:00.037403Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026648998260498047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n p.pool_id,\n p.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS p\nGROUP BY\n p.pool_id,\n p.collateral_type\n),\nissuance AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_issuance\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\n),\ndebt AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS debt\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\ncollateral AS (\n SELECT\n DISTINCT DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type\n ORDER BY\n ts rows BETWEEN unbounded preceding\n AND unbounded following) AS collateral_value\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n WHERE\n pool_id = 1\n),\nffill AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n debt.debt,\n collateral.collateral_value,\n SUM(\n CASE\n WHEN debt.debt IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS debt_id,\n SUM(\n CASE\n WHEN collateral.collateral_value IS NOT NULL THEN 1\n ELSE 0\n END\n ) over (\n ORDER BY\n dim.ts\n ) AS collateral_id\n FROM\n dim\n LEFT JOIN debt\n ON dim.ts = debt.ts\n AND dim.pool_id = debt.pool_id\n AND dim.collateral_type = debt.collateral_type\n LEFT JOIN collateral\n ON dim.ts = collateral.ts\n AND dim.pool_id = collateral.pool_id\n AND dim.collateral_type = collateral.collateral_type\n),\nhourly_index AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n FIRST_VALUE(COALESCE(debt, 0)) over (\n PARTITION BY debt_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS debt,\n FIRST_VALUE(COALESCE(collateral_value, 0)) over (\n PARTITION BY collateral_id,\n pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS collateral_value\n FROM\n ffill\n),\nhourly_pnl AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type\n ORDER BY\n ts) - debt, 0) AS hourly_pnl\n FROM\n hourly_index\n),\nhourly_rewards AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\n),\nhourly_returns AS (\n SELECT\n pnl.ts,\n pnl.pool_id,\n pnl.collateral_type,\n pnl.collateral_value,\n pnl.debt,\n COALESCE(\n iss.hourly_issuance,\n 0\n ) hourly_issuance,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) AS hourly_pnl,\n COALESCE(\n rewards.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE COALESCE(\n rewards.rewards_usd,\n 0\n ) / pnl.collateral_value\n END AS hourly_rewards_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value\n END AS hourly_pnl_pct,\n CASE\n WHEN pnl.collateral_value = 0 THEN 0\n ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value\n END AS hourly_total_pct\n FROM\n hourly_pnl pnl\n LEFT JOIN hourly_rewards rewards\n ON pnl.ts = rewards.ts\n AND pnl.pool_id = rewards.pool_id\n AND pnl.collateral_type = rewards.collateral_type\n LEFT JOIN issuance iss\n ON pnl.ts = iss.ts\n AND pnl.pool_id = iss.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n iss.collateral_type\n )\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct\nFROM\n hourly_returns", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.027815Z", "completed_at": "2024-07-18T20:39:00.035072Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.038389Z", "completed_at": "2024-07-18T20:39:00.038401Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.021429777145385742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_rewards_arbitrum_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.042849Z", "completed_at": "2024-07-18T20:39:00.063820Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.069666Z", "completed_at": "2024-07-18T20:39:00.069688Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03347659111022949, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_base_mainnet", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.048679Z", "completed_at": "2024-07-18T20:39:00.068919Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.071439Z", "completed_at": "2024-07-18T20:39:00.071453Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.03226447105407715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.056508Z", "completed_at": "2024-07-18T20:39:00.070737Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.073846Z", "completed_at": "2024-07-18T20:39:00.073857Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.026001930236816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_rewards_arbitrum_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.064505Z", "completed_at": "2024-07-18T20:39:00.073298Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.076412Z", "completed_at": "2024-07-18T20:39:00.076422Z"}], "thread_id": "Thread-4 (worker)", "execution_time": 0.0222625732421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_base_sepolia", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_pnl,\n hourly_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n hourly_total_pct,\n SUM(\n COALESCE(\n hourly_issuance,\n 0\n )\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts\n ) AS cumulative_pnl\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_pnl_pct,\n AVG(\n hourly_pnl_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_pnl_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_total_pct,\n AVG(\n hourly_total_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_total_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.debt AS debt,\n pnl_hourly.hourly_pnl AS hourly_pnl,\n pnl_hourly.cumulative_pnl AS cumulative_pnl,\n pnl_hourly.hourly_issuance AS hourly_issuance,\n pnl_hourly.cumulative_issuance AS cumulative_issuance,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n -- total pnls\n avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,\n avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,\n avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,\n -- pool pnls\n avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,\n avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,\n avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,\n -- rewards pnls\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,\n (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,\n (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,\n (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,\n (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,\n (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n hourly_issuance,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.085100Z", "completed_at": "2024-07-18T20:39:00.089236Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.090353Z", "completed_at": "2024-07-18T20:39:00.090365Z"}], "thread_id": "Thread-3 (worker)", "execution_time": 0.012392997741699219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_rewards_base_mainnet\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.078882Z", "completed_at": "2024-07-18T20:39:00.089786Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.091275Z", "completed_at": "2024-07-18T20:39:00.091285Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016264915466308594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\""}, {"status": "success", "timing": [{"name": "compile", "started_at": "2024-07-18T20:39:00.094692Z", "completed_at": "2024-07-18T20:39:00.098593Z"}, {"name": "execute", "started_at": "2024-07-18T20:39:00.099144Z", "completed_at": "2024-07-18T20:39:00.099153Z"}], "thread_id": "Thread-2 (worker)", "execution_time": 0.005778789520263672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia", "compiled": true, "compiled_code": "WITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_rewards_base_sepolia\""}], "elapsed_time": 8.23530387878418, "args": {"populate_cache": true, "empty_catalog": false, "show_resource_report": false, "exclude": [], "macro_debugging": false, "log_format": "default", "partial_parse_file_diff": true, "printer_width": 80, "quiet": false, "enable_legacy_logger": false, "project_dir": "/home/runner/work/data/data/transformers/synthetix", "use_colors_file": true, "log_format_file": "debug", "require_explicit_package_overrides_for_builtin_materializations": true, "require_resource_names_without_spaces": false, "cache_selected_only": false, "defer": false, "indirect_selection": "eager", "introspect": true, "log_path": "/home/runner/work/data/data/transformers/synthetix/logs", "compile": true, "log_level_file": "debug", "static": false, "select": [], "invocation_command": "dbt docs generate --profiles-dir profiles --profile synthetix-host", "log_level": "info", "log_file_max_bytes": 10485760, "write_json": true, "version_check": true, "strict_mode": false, "source_freshness_run_project_hooks": false, "which": "generate", "vars": {}, "warn_error_options": {"include": [], "exclude": []}, "print": true, "favor_state": false, "use_colors": true, "send_anonymous_usage_stats": true, "static_parser": true, "partial_parse": true, "profiles_dir": "profiles", "profile": "synthetix-host"}} \ No newline at end of file diff --git a/semantic_manifest.json b/semantic_manifest.json new file mode 100644 index 00000000..a40b829c --- /dev/null +++ b/semantic_manifest.json @@ -0,0 +1 @@ +{"semantic_models": [], "metrics": [], "project_configuration": {"time_spine_table_configurations": [], "metadata": null, "dsi_package_version": {"major_version": "0", "minor_version": "5", "patch_version": "1"}}, "saved_queries": []} \ No newline at end of file