From 2842d43a2bab5af5485b90f34124ae7a71aa12e0 Mon Sep 17 00:00:00 2001 From: marcus-snx Date: Sat, 13 Jul 2024 16:24:31 +0200 Subject: [PATCH 1/5] create docs folder for github pages --- transformers/synthetix/docs/catalog.json | 1 + transformers/synthetix/docs/index.html | 75 +++++++++++++++++++++++ transformers/synthetix/docs/manifest.json | 1 + 3 files changed, 77 insertions(+) create mode 100644 transformers/synthetix/docs/catalog.json create mode 100644 transformers/synthetix/docs/index.html create mode 100644 transformers/synthetix/docs/manifest.json diff --git a/transformers/synthetix/docs/catalog.json b/transformers/synthetix/docs/catalog.json new file mode 100644 index 00000000..1e999cf0 --- /dev/null +++ b/transformers/synthetix/docs/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-13T14:20:46.036297Z", "invocation_id": "295bdfb8-0f56-45d4-81cf-bcdbf76147ba", "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_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_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_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_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_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_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_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_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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 2, "name": "leverage", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_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.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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 12, "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": "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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}}, "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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 11, "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_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": {"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}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 5, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"liquidation_data": {"type": "jsonb", "index": 1, "name": "liquidation_data", "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}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "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": "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": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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": "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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 10, "name": "async_order_claim", "comment": null}}, "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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 3, "name": "referrer", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 8, "name": "amount_provided", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "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.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}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 5, "name": "final_order_amount", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "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}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 3, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 12, "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_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": {"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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 7, "name": "synth_token_address", "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.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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 5, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_returned", "comment": null}, "synth_market_id": {"type": "numeric", "index": 11, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_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.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": {"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}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}, "amount_unwrapped": {"type": "numeric", "index": 8, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "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_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": {"owner": {"type": "text", "index": 1, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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.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": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_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}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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": "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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "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}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "liquidation_data": {"type": "jsonb", "index": 10, "name": "liquidation_data", "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_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}, "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "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": "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}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_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}, "id": {"type": "character varying", "index": 8, "name": "id", "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.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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 11, "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_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_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "distributor": {"type": "text", "index": 2, "name": "distributor", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 11, "name": "duration", "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_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "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_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "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}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"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}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_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}, "liquidate_as_account_id": {"type": "numeric", "index": 10, "name": "liquidate_as_account_id", "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": "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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "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}, "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}, "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_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": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 6, "name": "async_order_claim", "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}, "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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}, "amount_provided": {"type": "numeric", "index": 9, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 11, "name": "order_type", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 4, "name": "final_order_amount", "comment": null}, "order_type": {"type": "integer", "index": 5, "name": "order_type", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 14, "name": "collected_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.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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 5, "name": "referrer", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 11, "name": "synth_returned", "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_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": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "amount_returned": {"type": "numeric", "index": 6, "name": "amount_returned", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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}, "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_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": {"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}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 7, "name": "amount_unwrapped", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 8, "name": "leverage", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "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}, "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 12, "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": "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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 7, "name": "market", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "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.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": {"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}, "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}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 10, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "start": {"type": "numeric", "index": 12, "name": "start", "comment": null}}, "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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "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}}, "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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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": "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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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.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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 8, "name": "reward", "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_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}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 8, "name": "amount_delta", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "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.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}, "contract": {"type": "text", "index": 2, "name": "contract", "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}, "interest": {"type": "numeric", "index": 6, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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": "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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 7, "name": "interest_rate", "comment": null}, "super_market_id": {"type": "numeric", "index": 8, "name": "super_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_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": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"pnl": {"type": "numeric", "index": 1, "name": "pnl", "comment": null}, "settlement_reward": {"type": "numeric", "index": 2, "name": "settlement_reward", "comment": null}, "referral_fees": {"type": "numeric", "index": 3, "name": "referral_fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "accrued_funding": {"type": "numeric", "index": 10, "name": "accrued_funding", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "new_size": {"type": "numeric", "index": 12, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 15, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 16, "name": "total_fees", "comment": null}, "id": {"type": "character varying", "index": 17, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 18, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 19, "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 2, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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_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": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 5, "name": "commitment_time", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "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}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "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.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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 6, "name": "async_order_claim", "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}, "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": "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": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "order_type": {"type": "integer", "index": 3, "name": "order_type", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 9, "name": "amount_provided", "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.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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 5, "name": "order_type", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "collected_fees": {"type": "numeric", "index": 8, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "fees": {"type": "jsonb", "index": 14, "name": "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.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": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "synth_returned": {"type": "numeric", "index": 3, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "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}, "fees": {"type": "jsonb", "index": 12, "name": "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.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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}}, "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": {"amount_returned": {"type": "numeric", "index": 1, "name": "amount_returned", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 11, "name": "referrer", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 8, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 4, "name": "fees_collected", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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": "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}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 2, "name": "leverage", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_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.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}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "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}, "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}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 12, "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "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}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}}, "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}, "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "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.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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "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}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "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_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": {"liquidate_as_account_id": {"type": "numeric", "index": 1, "name": "liquidate_as_account_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 10, "name": "liquidation_data", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 2, "name": "reward", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "full_liquidation": {"type": "boolean", "index": 7, "name": "full_liquidation", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 6, "name": "amount_delta", "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}, "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": "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": {"interest": {"type": "numeric", "index": 1, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}}, "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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 2, "name": "interest_rate", "comment": null}, "super_market_id": {"type": "numeric", "index": 3, "name": "super_market_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "perps_market_id": {"type": "numeric", "index": 3, "name": "perps_market_id", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "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}, "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.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": {"settlement_reward": {"type": "numeric", "index": 1, "name": "settlement_reward", "comment": null}, "pnl": {"type": "numeric", "index": 2, "name": "pnl", "comment": null}, "referral_fees": {"type": "numeric", "index": 3, "name": "referral_fees", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "accrued_funding": {"type": "numeric", "index": 7, "name": "accrued_funding", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 11, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "settler": {"type": "text", "index": 13, "name": "settler", "comment": null}, "collected_fees": {"type": "numeric", "index": 14, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 16, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 17, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 18, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 19, "name": "fill_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.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": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 9, "name": "acceptable_price", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "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_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "amount_provided": {"type": "numeric", "index": 7, "name": "amount_provided", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "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.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}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 7, "name": "collected_fees", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 12, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "final_order_amount": {"type": "numeric", "index": 14, "name": "final_order_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.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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 6, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "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_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": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "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_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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 3, "name": "amount_returned", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 6, "name": "fees", "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}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 9, "name": "amount_unwrapped", "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": "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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 2, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 4, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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": "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}, "timestamp": {"type": "timestamp with time zone", "index": 2, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "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.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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 2, "name": "leverage", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_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_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 12, "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_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 12, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 3, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 14, "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"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": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 11, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 13, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"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}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 11, "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_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": {"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}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 5, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"liquidation_data": {"type": "jsonb", "index": 1, "name": "liquidation_data", "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}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "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_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": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "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}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 10, "name": "async_order_claim", "comment": null}}, "stats": {"has_stats": {"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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 3, "name": "referrer", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 8, "name": "amount_provided", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "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.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}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 5, "name": "final_order_amount", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "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}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 3, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 12, "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_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": {"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}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 7, "name": "synth_token_address", "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 5, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_returned", "comment": null}, "synth_market_id": {"type": "numeric", "index": 11, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_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": "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": {"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}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "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}, "amount_unwrapped": {"type": "numeric", "index": 8, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "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_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": {"owner": {"type": "text", "index": 1, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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_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": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_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}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "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}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "liquidation_data": {"type": "jsonb", "index": 10, "name": "liquidation_data", "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_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": {"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}, "reported_debt": {"type": "numeric", "index": 4, "name": "reported_debt", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 13, "name": "sender", "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.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}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "token_amount": {"type": "numeric", "index": 11, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "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}, "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "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_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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "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}, "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "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}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 8, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market": {"type": "text", "index": 10, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 11, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 13, "name": "credit_capacity", "comment": null}}, "stats": {"has_stats": {"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}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_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}, "id": {"type": "character varying", "index": 8, "name": "id", "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_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 3, "name": "distributor", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "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_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_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "distributor": {"type": "text", "index": 2, "name": "distributor", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 11, "name": "duration", "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.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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "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_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "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}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "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}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"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}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_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}, "liquidate_as_account_id": {"type": "numeric", "index": 10, "name": "liquidate_as_account_id", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "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}, "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}, "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_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": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 6, "name": "async_order_claim", "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}, "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}, "amount_provided": {"type": "numeric", "index": 9, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 11, "name": "order_type", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 4, "name": "final_order_amount", "comment": null}, "order_type": {"type": "integer", "index": 5, "name": "order_type", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 14, "name": "collected_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": "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 5, "name": "referrer", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 11, "name": "synth_returned", "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_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": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "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}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "amount_returned": {"type": "numeric", "index": 6, "name": "amount_returned", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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}, "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_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": {"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}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 7, "name": "amount_unwrapped", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "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}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "snx": {"type": "numeric", "index": 7, "name": "snx", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "buyer": {"type": "text", "index": 9, "name": "buyer", "comment": null}}, "stats": {"has_stats": {"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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "usd": {"type": "numeric", "index": 6, "name": "usd", "comment": null}, "snx": {"type": "numeric", "index": 7, "name": "snx", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "buyer": {"type": "text", "index": 9, "name": "buyer", "comment": null}}, "stats": {"has_stats": {"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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "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_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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 8, "name": "leverage", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "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}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "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}, "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 4, "name": "liquidation_data", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 12, "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 10, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 11, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "reported_debt": {"type": "numeric", "index": 4, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 14, "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 7, "name": "market", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "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}, "market": {"type": "text", "index": 13, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "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}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 11, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 13, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "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}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"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}, "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}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 10, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "start": {"type": "numeric", "index": 12, "name": "start", "comment": null}}, "stats": {"has_stats": {"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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "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}}, "stats": {"has_stats": {"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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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_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}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 4, "name": "target", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "reported_debt": {"type": "numeric", "index": 11, "name": "reported_debt", "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}, "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_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": {"market": {"type": "text", "index": 1, "name": "market", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 12, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 14, "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "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.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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 8, "name": "reward", "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_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}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 8, "name": "amount_delta", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "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.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}, "contract": {"type": "text", "index": 2, "name": "contract", "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}, "interest": {"type": "numeric", "index": 6, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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_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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 7, "name": "interest_rate", "comment": null}, "super_market_id": {"type": "numeric", "index": 8, "name": "super_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_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": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "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}, "current_funding_rate": {"type": "numeric", "index": 4, "name": "current_funding_rate", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "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}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "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_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": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "expiration_time": {"type": "numeric", "index": 3, "name": "expiration_time", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 7, "name": "commitment_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 9, "name": "acceptable_price", "comment": null}, "expected_price_time": {"type": "numeric", "index": 10, "name": "expected_price_time", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 15, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 16, "name": "block_timestamp", "comment": null}, "settlement_time": {"type": "numeric", "index": 17, "name": "settlement_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_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": {"pnl": {"type": "numeric", "index": 1, "name": "pnl", "comment": null}, "settlement_reward": {"type": "numeric", "index": 2, "name": "settlement_reward", "comment": null}, "referral_fees": {"type": "numeric", "index": 3, "name": "referral_fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "accrued_funding": {"type": "numeric", "index": 10, "name": "accrued_funding", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "new_size": {"type": "numeric", "index": 12, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 15, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 16, "name": "total_fees", "comment": null}, "id": {"type": "character varying", "index": 17, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 18, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 19, "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_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": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 2, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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_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": {"acceptable_price": {"type": "numeric", "index": 1, "name": "acceptable_price", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 5, "name": "commitment_time", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "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}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "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_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": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 6, "name": "current_funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 8, "name": "current_funding_velocity", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 13, "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "settlement_time": {"type": "numeric", "index": 2, "name": "settlement_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 3, "name": "acceptable_price", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 5, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "market_id": {"type": "numeric", "index": 14, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 6, "name": "async_order_claim", "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}, "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_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": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "order_type": {"type": "integer", "index": 3, "name": "order_type", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "amount_provided": {"type": "numeric", "index": 9, "name": "amount_provided", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 5, "name": "order_type", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "collected_fees": {"type": "numeric", "index": 8, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "fees": {"type": "jsonb", "index": 14, "name": "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": "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": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "synth_returned": {"type": "numeric", "index": 3, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "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}, "fees": {"type": "jsonb", "index": 12, "name": "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": "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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}}, "stats": {"has_stats": {"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": {"amount_returned": {"type": "numeric", "index": 1, "name": "amount_returned", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 11, "name": "referrer", "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.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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 8, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 4, "name": "fees_collected", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_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": {"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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "snx": {"type": "numeric", "index": 2, "name": "snx", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "usd": {"type": "numeric", "index": 6, "name": "usd", "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}, "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.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}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 2, "name": "leverage", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_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.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}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "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}, "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}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 12, "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 5, "name": "net_issuance", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "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_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": {"deposited_collateral_value": {"type": "numeric", "index": 1, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 8, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "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}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 11, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "market": {"type": "text", "index": 13, "name": "market", "comment": null}}, "stats": {"has_stats": {"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": {"deposited_collateral_value": {"type": "numeric", "index": 1, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 4, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "market": {"type": "text", "index": 10, "name": "market", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 13, "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_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}, "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "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.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}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "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}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "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_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": {"liquidate_as_account_id": {"type": "numeric", "index": 1, "name": "liquidate_as_account_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 10, "name": "liquidation_data", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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_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}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "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}, "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": {"type": "text", "index": 11, "name": "market", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "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": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 3, "name": "target", "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}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 13, "name": "net_issuance", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 2, "name": "reward", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "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}, "full_liquidation": {"type": "boolean", "index": 7, "name": "full_liquidation", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "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_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}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 6, "name": "amount_delta", "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}, "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_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": {"interest": {"type": "numeric", "index": 1, "name": "interest", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "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}}, "stats": {"has_stats": {"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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 2, "name": "interest_rate", "comment": null}, "super_market_id": {"type": "numeric", "index": 3, "name": "super_market_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "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}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_name": {"type": "text", "index": 2, "name": "market_name", "comment": null}, "perps_market_id": {"type": "numeric", "index": 3, "name": "perps_market_id", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "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}, "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_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": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "interest_rate": {"type": "numeric", "index": 2, "name": "interest_rate", "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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 7, "name": "current_funding_velocity", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 9, "name": "current_funding_rate", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 14, "name": "commitment_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 15, "name": "acceptable_price", "comment": null}, "contract": {"type": "text", "index": 16, "name": "contract", "comment": null}, "expected_price_time": {"type": "numeric", "index": 17, "name": "expected_price_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_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": {"settlement_reward": {"type": "numeric", "index": 1, "name": "settlement_reward", "comment": null}, "pnl": {"type": "numeric", "index": 2, "name": "pnl", "comment": null}, "referral_fees": {"type": "numeric", "index": 3, "name": "referral_fees", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "accrued_funding": {"type": "numeric", "index": 7, "name": "accrued_funding", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 11, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "settler": {"type": "text", "index": 13, "name": "settler", "comment": null}, "collected_fees": {"type": "numeric", "index": 14, "name": "collected_fees", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 16, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 17, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 18, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 19, "name": "fill_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_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": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "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}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 9, "name": "acceptable_price", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "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}, "current_funding_velocity": {"type": "numeric", "index": 6, "name": "current_funding_velocity", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 8, "name": "current_funding_rate", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 13, "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_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": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "acceptable_price": {"type": "numeric", "index": 6, "name": "acceptable_price", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "settlement_time": {"type": "numeric", "index": 10, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 11, "name": "expiration_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 13, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 16, "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_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": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "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_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "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_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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "amount_provided": {"type": "numeric", "index": 7, "name": "amount_provided", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 10, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "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.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}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 7, "name": "collected_fees", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 12, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "final_order_amount": {"type": "numeric", "index": 14, "name": "final_order_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.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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 6, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "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_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": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "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_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": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 3, "name": "amount_returned", "comment": null}, "collected_fees": {"type": "numeric", "index": 4, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 6, "name": "fees", "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}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "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_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": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "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_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 9, "name": "amount_unwrapped", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 2, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 4, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "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_base_sepolia.spot_market_proxy_event_synth_wrapped"}}, "errors": null} \ No newline at end of file diff --git a/transformers/synthetix/docs/index.html b/transformers/synthetix/docs/index.html new file mode 100644 index 00000000..c580ce91 --- /dev/null +++ b/transformers/synthetix/docs/index.html @@ -0,0 +1,75 @@ +dbt Docs
icons
diff --git a/transformers/synthetix/docs/manifest.json b/transformers/synthetix/docs/manifest.json new file mode 100644 index 00000000..3996cd0f --- /dev/null +++ b/transformers/synthetix/docs/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-13T14:20:42.934047Z", "invocation_id": "295bdfb8-0f56-45d4-81cf-bcdbf76147ba", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "4561c85a-e218-4bc5-bcf4-067799ea7237", "send_anonymous_usage_stats": true, "adapter_type": "postgres"}, "nodes": {"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": 1720880351.803855, "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": 1720880351.803641, "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": 1720880351.8114197, "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_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": 1720880351.8102436, "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_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": 1720880351.8116972, "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_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": 1720880351.811199, "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_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": 1720880351.8121295, "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_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": 1720880351.8131106, "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_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": 1720880351.8054674, "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_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": 1720880351.8099427, "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_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": 1720880351.8091643, "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_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": 1720880351.81097, "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_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": 1720880351.8050013, "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_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": 1720880351.8126123, "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_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": 1720880351.8105507, "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_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": 1720880351.8142908, "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_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": 1720880351.8140745, "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_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": 1720880351.8136122, "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_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": 1720880351.8146627, "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_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": 1720880351.815161, "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": 1720880351.8149598, "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_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": 1720880351.8167481, "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_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": 1720880351.816437, "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_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": 1720880351.8177335, "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_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": 1720880351.815497, "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_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": 1720880351.819307, "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_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": 1720880351.8174741, "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_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": 1720880351.818466, "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_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": 1720880351.8172212, "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_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": 1720880351.8187492, "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_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": 1720880351.8182282, "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_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": 1720880351.8190887, "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_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": 1720880351.8196251, "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_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": 1720880351.8157296, "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_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": 1720880351.820746, "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": 1720880351.8204732, "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_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": 1720880351.8202448, "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_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": 1720880351.8199334, "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_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": 1720880351.8210242, "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_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": 1720880351.821224, "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_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": 1720880351.8231142, "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_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": 1720880351.821878, "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_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": 1720880351.8248413, "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_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": 1720880351.8253973, "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_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": 1720880351.8257008, "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_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": 1720880351.8245752, "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_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": 1720880351.8234296, "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_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": 1720880351.822168, "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_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": 1720880351.8251777, "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_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": 1720880351.822399, "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_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": 1720880351.823857, "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_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": 1720880351.8243423, "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_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": 1720880351.82364, "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_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": 1720880351.8240733, "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_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": 1720880351.8276932, "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_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": 1720880351.8329465, "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_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": 1720880351.8263447, "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_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": 1720880351.8294163, "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_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": 1720880351.8304281, "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_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": 1720880351.832433, "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_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": 1720880351.8297555, "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_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": 1720880351.8268368, "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": 1720880351.8327503, "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_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": 1720880351.8308036, "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_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": 1720880351.8320577, "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_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": 1720880351.8345828, "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": 1720880351.833705, "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_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": 1720880351.8339505, "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_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": 1720880351.8357537, "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_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": 1720880351.8372557, "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_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": 1720880351.8368568, "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_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": 1720880351.8376424, "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_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": 1720880351.8390777, "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_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": 1720880351.8365033, "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_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": 1720880351.8352978, "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_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": 1720880351.8385136, "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_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": 1720880351.8396335, "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_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": 1720880351.8399308, "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_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": 1720880351.8403594, "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": 1720880351.8411787, "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": 1720880351.8409324, "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": 1720880351.8407, "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.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": 1720880351.8414466, "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": 1720880351.8416657, "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_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": 1720880351.8436337, "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_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": 1720880351.8440776, "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_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": 1720880351.8434162, "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_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": 1720880351.843849, "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_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": 1720880351.8429215, "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_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": 1720880351.8446445, "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_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": 1720880351.8455045, "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_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": 1720880351.8458045, "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_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": 1720880351.844301, "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_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": 1720880351.8432178, "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_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": 1720880351.8420012, "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_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": 1720880351.8452637, "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_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": 1720880351.8422287, "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_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": 1720880351.847946, "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_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": 1720880351.8464563, "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_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": 1720880351.8499506, "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_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": 1720880351.8486185, "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_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": 1720880351.849153, "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_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": 1720880351.8468888, "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_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": 1720880351.8502145, "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_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": 1720880351.8461523, "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_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": 1720880351.8483582, "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_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": 1720880351.8476732, "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": 1720880351.849711, "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_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": 1720880351.8512034, "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_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": 1720880351.8506024, "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": 1720880351.850877, "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_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": 1720880351.8536947, "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_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": 1720880351.8543203, "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_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": 1720880351.8524597, "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_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": 1720880351.8517268, "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_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": 1720880351.8540103, "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_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": 1720880351.8546264, "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": 1720880351.8549187, "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_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": 1720880351.852106, "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_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": 1720880351.8533003, "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": 1720880351.8529048, "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_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": 1720880351.8555217, "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": 1720880351.8552275, "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_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": 1720880351.8559957, "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": 1720880351.8557467, "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.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": 1720880352.0347235, "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", "blocks_parquet"], ["raw_arbitrum_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "source.synthetix.raw_arbitrum_mainnet.block"]}, "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_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": 1720880352.0379364, "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_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": 1720880352.0401878, "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_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": 1720880352.0390947, "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_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": 1720880352.0398307, "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_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": 1720880352.0418334, "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.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": 1720880352.0386045, "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_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": 1720880352.036858, "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_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": 1720880352.042363, "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_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": 1720880352.040664, "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_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": 1720880352.0421052, "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_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": 1720880352.0410776, "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_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": 1720880352.0394793, "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_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": 1720880352.0363677, "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_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": 1720880352.0375645, "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_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": 1720880352.041458, "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.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": 1720880352.0599155, "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_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": 1720880352.060406, "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_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": 1720880352.0613475, "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.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": 1720880352.05942, "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_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": 1720880352.0588987, "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_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": 1720880352.0579114, "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_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": 1720880352.0584395, "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": 1720880352.0608528, "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.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": 1720880352.070272, "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", "blocks_parquet"], ["raw_arbitrum_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "source.synthetix.raw_arbitrum_sepolia.block"]}, "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_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": 1720880352.0768003, "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_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": 1720880352.0765529, "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_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": 1720880352.0751634, "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_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": 1720880352.0755298, "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_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": 1720880352.074045, "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_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": 1720880352.0717282, "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_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": 1720880352.072555, "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_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": 1720880352.0759177, "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_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": 1720880352.072918, "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": 1720880352.0747902, "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.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": 1720880352.0737128, "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_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": 1720880352.074421, "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_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": 1720880352.076282, "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_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": 1720880352.073302, "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_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": 1720880352.072121, "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.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": 1720880352.0932846, "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": 1720880352.0936515, "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_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": 1720880352.0923672, "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.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": 1720880352.0928743, "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": 1720880352.0949912, "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_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": 1720880352.0941615, "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_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": 1720880352.0946023, "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": 1720880352.0953665, "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.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": 1720880352.1045442, "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.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": 1720880352.1112268, "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_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": 1720880352.1093946, "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_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": 1720880352.1086187, "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_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": 1720880352.1090162, "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_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": 1720880352.1114836, "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.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": 1720880352.1073658, "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_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": 1720880352.1077793, "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_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": 1720880352.1109512, "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_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": 1720880352.1064944, "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": 1720880352.1069868, "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_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": 1720880352.1060598, "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_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": 1720880352.1101599, "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_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": 1720880352.1105711, "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_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": 1720880352.1082153, "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_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": 1720880352.109788, "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.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": 1720880352.1303704, "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_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": 1720880352.128496, "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_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": 1720880352.13196, "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_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": 1720880352.1297867, "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_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": 1720880352.131212, "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_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": 1720880352.1278338, "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_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": 1720880352.1316614, "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_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": 1720880352.1323671, "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_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": 1720880352.12718, "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.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": 1720880352.1307716, "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_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": 1720880352.129248, "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.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": 1720880352.1420395, "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.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": 1720880352.1438303, "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}, "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": 1720880352.1433723, "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_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": 1720880352.1443863, "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_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": 1720880352.1430058, "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_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": 1720880352.1448221, "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_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": 1720880352.1425536, "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_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": 1720880352.1452725, "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_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": 1720880352.1457188, "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.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": 1720880352.1551316, "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", "blocks_parquet"], ["raw_base_sepolia", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_sepolia.blocks_parquet", "source.synthetix.raw_base_sepolia.block"]}, "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.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": 1720880352.1571095, "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_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": 1720880352.1576061, "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_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": 1720880352.1566882, "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_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": 1720880352.161037, "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_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": 1720880352.1614602, "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_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": 1720880352.158782, "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_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": 1720880352.1606274, "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_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": 1720880352.1621213, "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.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": 1720880352.16021, "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_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": 1720880352.1593957, "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_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": 1720880352.159825, "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_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": 1720880352.1624174, "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_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": 1720880352.157971, "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_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": 1720880352.1583567, "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_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": 1720880352.161852, "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.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": 1720880352.183025, "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_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": 1720880352.1783524, "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": 1720880352.181234, "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": 1720880352.1798818, "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": 1720880352.180865, "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_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": 1720880352.179439, "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": 1720880352.1824245, "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_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": 1720880352.1804535, "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_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": 1720880352.1817214, "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_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": 1720880352.1789043, "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_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": 1720880352.1820843, "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.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": 1720880352.1933842, "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.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": 1720880352.1938877, "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_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": 1720880352.1962934, "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_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": 1720880352.196673, "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_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": 1720880352.1950438, "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.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": 1720880352.1947107, "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_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": 1720880352.195549, "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_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": 1720880352.1943307, "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_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": 1720880352.19594, "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}, "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": 1720880351.7162952, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/app/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": 1720880351.7146754, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/app/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": 1720880351.7149827, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/app/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": 1720880351.7142634, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/app/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": 1720880351.7172587, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"", "raw_code": "", "root_path": "/app/synthetix", "depends_on": {"macros": []}}, "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": 1720880351.716985, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"", "raw_code": "", "root_path": "/app/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": 1720880351.7167177, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"", "raw_code": "", "root_path": "/app/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": 1720880351.717533, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"", "raw_code": "", "root_path": "/app/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": 1720880351.760261, "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": 1720880351.7613113, "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": 1720880351.7619536, "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": 1720880351.7625675, "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": 1720880351.7631428, "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": 1720880351.7637122, "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": 1720880351.764273, "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": 1720880351.764917, "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": 1720880351.7654822, "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": 1720880351.7659967, "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": 1720880351.7665029, "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": 1720880351.7670262, "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": 1720880351.7675931, "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": 1720880351.768111, "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": 1720880351.7686439, "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": 1720880351.7691402, "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_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": 1720880352.0351198, "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": 1720880352.0357428, "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": 1720880352.0427186, "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": 1720880352.043617, "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": 1720880352.044206, "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": 1720880352.0447922, "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": 1720880352.0453079, "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": 1720880352.0458372, "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": 1720880352.0468047, "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": 1720880352.047346, "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": 1720880352.0478814, "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": 1720880352.048411, "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": 1720880352.048946, "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": 1720880352.049512, "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": 1720880352.0500302, "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": 1720880352.0505455, "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": 1720880352.0510519, "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": 1720880352.0515952, "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": 1720880352.0521317, "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": 1720880352.0527146, "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": 1720880352.0532334, "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": 1720880352.0537794, "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": 1720880352.054298, "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": 1720880352.0548139, "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": 1720880352.055368, "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": 1720880352.0558841, "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": 1720880352.056427, "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": 1720880352.0569594, "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": 1720880352.0616858, "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": 1720880352.0622294, "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": 1720880352.062755, "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": 1720880352.06326, "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": 1720880352.0638342, "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": 1720880352.0643566, "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": 1720880352.0648782, "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": 1720880352.065389, "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": 1720880352.0659125, "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": 1720880352.066424, "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": 1720880352.0669847, "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": 1720880352.0674834, "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": 1720880352.067997, "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": 1720880352.068526, "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": 1720880352.0690284, "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": 1720880352.0697348, "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_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": 1720880352.070589, "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": 1720880352.071109, "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": 1720880352.0771234, "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": 1720880352.0776913, "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": 1720880352.078278, "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": 1720880352.0788171, "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": 1720880352.0793345, "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": 1720880352.0798433, "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": 1720880352.0803466, "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": 1720880352.0809112, "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": 1720880352.0814342, "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": 1720880352.0822034, "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": 1720880352.0830073, "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": 1720880352.0835965, "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": 1720880352.0841656, "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": 1720880352.0848105, "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": 1720880352.0853603, "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": 1720880352.0859194, "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": 1720880352.0864596, "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": 1720880352.087013, "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": 1720880352.0876002, "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": 1720880352.0881288, "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": 1720880352.088654, "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": 1720880352.0892034, "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": 1720880352.0897303, "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": 1720880352.0903032, "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": 1720880352.0908399, "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": 1720880352.0913594, "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": 1720880352.095747, "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": 1720880352.0963757, "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": 1720880352.0969155, "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": 1720880352.0974333, "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": 1720880352.0979624, "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": 1720880352.0984778, "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": 1720880352.0990164, "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": 1720880352.099606, "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": 1720880352.1001198, "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": 1720880352.1006212, "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": 1720880352.1011486, "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": 1720880352.1016552, "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": 1720880352.1023967, "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": 1720880352.1029172, "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": 1720880352.1034224, "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": 1720880352.1039324, "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_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": 1720880352.104873, "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": 1720880352.1054053, "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.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": 1720880352.1118355, "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": 1720880352.1124222, "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": 1720880352.1130104, "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": 1720880352.1135387, "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": 1720880352.1140478, "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": 1720880352.114587, "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": 1720880352.116074, "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": 1720880352.1167274, "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": 1720880352.117268, "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": 1720880352.1178024, "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": 1720880352.1183205, "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": 1720880352.1188495, "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": 1720880352.1193757, "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": 1720880352.119944, "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": 1720880352.1204562, "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": 1720880352.1209702, "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": 1720880352.1215243, "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": 1720880352.122041, "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": 1720880352.1226318, "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": 1720880352.123142, "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": 1720880352.1236508, "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": 1720880352.1241753, "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": 1720880352.1246939, "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": 1720880352.125578, "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": 1720880352.1260855, "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": 1720880352.126608, "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.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": 1720880352.1327097, "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": 1720880352.1335483, "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": 1720880352.1341505, "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": 1720880352.1346805, "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": 1720880352.135203, "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": 1720880352.1357396, "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": 1720880352.1362476, "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": 1720880352.1369743, "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": 1720880352.1374812, "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": 1720880352.1379921, "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": 1720880352.1385026, "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": 1720880352.139004, "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": 1720880352.139864, "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": 1720880352.1403754, "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": 1720880352.1408937, "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": 1720880352.1413932, "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_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": 1720880352.1461055, "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": 1720880352.1468406, "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": 1720880352.1475518, "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": 1720880352.1481473, "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": 1720880352.1486819, "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": 1720880352.149199, "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": 1720880352.149788, "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": 1720880352.1502883, "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": 1720880352.1508167, "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": 1720880352.1513302, "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": 1720880352.151877, "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": 1720880352.1524305, "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": 1720880352.152944, "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": 1720880352.1534529, "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": 1720880352.15399, "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": 1720880352.1545424, "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}}, "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": 1720880352.155451, "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": 1720880352.1560063, "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.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": 1720880352.1627505, "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": 1720880352.1633244, "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": 1720880352.1639526, "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": 1720880352.1644678, "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": 1720880352.1650562, "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": 1720880352.1655886, "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": 1720880352.166135, "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": 1720880352.166745, "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": 1720880352.167274, "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": 1720880352.1680212, "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": 1720880352.16861, "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": 1720880352.1691694, "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": 1720880352.1698403, "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": 1720880352.1705432, "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": 1720880352.1711211, "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": 1720880352.171676, "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": 1720880352.1722183, "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": 1720880352.1728163, "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": 1720880352.1737666, "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": 1720880352.1742942, "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": 1720880352.174817, "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": 1720880352.175414, "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": 1720880352.1760128, "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": 1720880352.1766577, "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": 1720880352.1771717, "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": 1720880352.177692, "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.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": 1720880352.1834526, "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": 1720880352.1842763, "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": 1720880352.185048, "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": 1720880352.1858158, "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": 1720880352.186476, "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": 1720880352.1870298, "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": 1720880352.1875854, "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": 1720880352.1881316, "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": 1720880352.1887271, "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": 1720880352.1893127, "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": 1720880352.1898663, "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": 1720880352.1903799, "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": 1720880352.1909287, "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": 1720880352.191558, "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": 1720880352.1921847, "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": 1720880352.1927013, "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_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": 1720880352.1970155, "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": 1720880352.1976054, "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": 1720880352.1981502, "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": 1720880352.1987176, "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": 1720880352.1992645, "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": 1720880352.1998122, "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": 1720880352.2003791, "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": 1720880352.2008944, "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": 1720880352.2013962, "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": 1720880352.2019181, "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": 1720880352.2024362, "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": 1720880352.2030237, "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": 1720880352.2035358, "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": 1720880352.2040377, "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": 1720880352.2045646, "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": 1720880352.2050667, "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}}}, "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": 1720880352.2127447}, "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": 1720880352.213289}, "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": 1720880352.2133782}, "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": 1720880352.213444}, "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": 1720880352.2135088}, "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": 1720880352.2135704}, "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": 1720880352.2136245}, "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": 1720880352.2136915}, "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": 1720880352.213744}, "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": 1720880352.2137957}, "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": 1720880352.2138474}, "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": 1720880352.2139034}, "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": 1720880352.213953}, "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": 1720880352.214014}, "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": 1720880352.214065}, "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": 1720880352.2141278}, "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": 1720880352.2141795}, "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": 1720880352.2142313}, "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": 1720880352.2142813}, "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": 1720880352.2143323}, "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": 1720880352.2143805}, "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": 1720880352.2144306}, "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": 1720880352.2144797}, "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": 1720880352.2145326}, "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": 1720880352.2145817}, "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": 1720880352.214628}, "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": 1720880352.214674}, "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": 1720880352.214723}, "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": 1720880352.2147703}, "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": 1720880352.2148151}, "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": 1720880352.214867}, "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": 1720880352.214918}, "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": 1720880352.2149699}, "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": 1720880352.2150202}, "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": 1720880352.215066}, "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": 1720880352.215117}, "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": 1720880352.215172}, "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": 1720880352.2152278}, "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": 1720880352.215281}, "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": 1720880352.215335}, "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": 1720880352.215448}, "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": 1720880352.2155116}, "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": 1720880352.2155662}, "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": 1720880352.2156217}, "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": 1720880352.215672}, "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": 1720880352.2157214}, "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": 1720880352.2157707}, "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": 1720880352.2158213}, "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": 1720880352.2158742}, "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": 1720880352.2159235}, "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": 1720880352.2159686}, "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": 1720880352.216013}, "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": 1720880352.2160616}, "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": 1720880352.2161093}, "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": 1720880352.2161574}, "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": 1720880352.216203}, "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": 1720880352.2162485}, "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": 1720880352.2162976}, "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": 1720880352.2163455}, "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": 1720880352.2163925}, "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": 1720880352.2164392}, "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": 1720880352.216496}, "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": 1720880352.2165434}, "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": 1720880352.2165866}, "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": 1720880352.2166326}, "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": 1720880352.216677}, "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": 1720880352.2167256}, "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": 1720880352.216774}, "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": 1720880352.2168214}, "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": 1720880352.216868}, "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": 1720880352.216915}, "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": 1720880352.216961}, "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": 1720880352.2170057}, "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": 1720880352.2170544}, "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": 1720880352.2171059}, "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": 1720880352.2171576}, "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": 1720880352.2172017}, "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": 1720880352.2172496}, "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": 1720880352.2172987}, "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": 1720880352.2173474}, "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": 1720880352.2173958}, "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": 1720880352.2174444}, "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": 1720880352.217506}, "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": 1720880352.217554}, "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": 1720880352.217605}, "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": 1720880352.2176607}, "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": 1720880352.21771}, "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": 1720880352.2177622}, "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": 1720880352.2178087}, "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": 1720880352.2178571}, "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": 1720880352.2179081}, "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": 1720880352.2179565}, "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": 1720880352.2180066}, "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": 1720880352.2180648}, "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": 1720880352.2181156}, "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": 1720880352.2181659}, "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": 1720880352.2182138}, "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": 1720880352.2182636}, "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": 1720880352.2183106}, "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": 1720880352.2183564}, "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": 1720880352.218406}, "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": 1720880352.2184546}, "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": 1720880352.2185116}, "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": 1720880352.218555}, "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": 1720880352.2186022}, "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": 1720880352.2186496}, "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": 1720880352.2186995}, "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": 1720880352.2187512}, "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": 1720880352.2187989}, "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": 1720880352.2188466}, "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": 1720880352.218891}, "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": 1720880352.21894}, "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": 1720880352.2189908}, "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": 1720880352.2190409}, "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": 1720880352.2190862}, "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": 1720880352.2191331}, "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": 1720880352.2191844}, "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": 1720880352.2192326}, "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": 1720880352.2192805}, "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": 1720880352.2193248}, "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": 1720880352.2193718}, "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": 1720880352.2194164}, "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": 1720880352.2194622}, "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": 1720880352.2195182}, "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": 1720880352.2195632}, "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": 1720880352.2196116}, "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": 1720880352.21966}, "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": 1720880352.2197073}, "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": 1720880352.2197568}, "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": 1720880352.2198012}, "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": 1720880352.2198453}, "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": 1720880352.2198915}, "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": 1720880352.2199347}, "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": 1720880352.2199824}, "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": 1720880352.2200305}, "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": 1720880352.2200806}, "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": 1720880352.2201288}, "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": 1720880352.2201767}, "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": 1720880352.2202237}, "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": 1720880352.2202709}, "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": 1720880352.22032}, "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": 1720880352.220371}, "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": 1720880352.2204268}, "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": 1720880352.2204819}, "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": 1720880352.2205443}, "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": 1720880352.2205975}, "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": 1720880352.2206607}, "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": 1720880352.2207098}, "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": 1720880352.220758}, "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": 1720880352.2208066}, "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": 1720880352.220858}, "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": 1720880352.2209046}, "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": 1720880352.2209518}, "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": 1720880352.2210026}, "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": 1720880352.2210486}, "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": 1720880352.221098}, "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": 1720880352.2211444}, "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": 1720880352.2211905}, "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": 1720880352.221242}, "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": 1720880352.221289}, "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": 1720880352.2213347}, "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": 1720880352.2213821}, "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": 1720880352.2214286}, "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": 1720880352.2214756}, "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": 1720880352.2215288}, "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": 1720880352.2215722}, "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": 1720880352.2216191}, "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": 1720880352.2216659}, "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": 1720880352.2217193}, "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": 1720880352.221768}, "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": 1720880352.2218206}, "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": 1720880352.2218707}, "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": 1720880352.2219193}, "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": 1720880352.2219691}, "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": 1720880352.2220197}, "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": 1720880352.2220654}, "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": 1720880352.222115}, "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": 1720880352.2221622}, "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": 1720880352.2222092}, "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": 1720880352.2222571}, "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": 1720880352.222306}, "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": 1720880352.2223568}, "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": 1720880352.2224061}, "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": 1720880352.2224503}, "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": 1720880352.222514}, "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": 1720880352.222562}, "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": 1720880352.2226107}, "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": 1720880352.2226615}, "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": 1720880352.2227116}, "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": 1720880352.2227619}, "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": 1720880352.222811}, "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": 1720880352.2228613}, "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": 1720880352.222907}, "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": 1720880352.222957}, "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": 1720880352.2230012}, "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": 1720880352.2230449}, "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": 1720880352.2230947}, "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": 1720880352.2231443}, "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": 1720880352.2231941}, "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": 1720880352.223258}, "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": 1720880352.2233057}, "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": 1720880352.2233565}, "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": 1720880352.2234018}, "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": 1720880352.2234566}, "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": 1720880352.2235181}, "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": 1720880352.2235723}, "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": 1720880352.223625}, "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": 1720880352.2236702}, "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": 1720880352.223721}, "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": 1720880352.223772}, "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": 1720880352.2238188}, "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": 1720880352.223863}, "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": 1720880352.2239118}, "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": 1720880352.223956}, "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": 1720880352.2240057}, "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": 1720880352.2240508}, "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": 1720880352.2241006}, "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": 1720880352.2241442}, "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": 1720880352.2241926}, "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": 1720880352.2242384}, "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": 1720880352.2242846}, "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": 1720880352.2243333}, "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": 1720880352.224382}, "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": 1720880352.2244294}, "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": 1720880352.2244742}, "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": 1720880352.2245386}, "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": 1720880352.2245872}, "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": 1720880352.2246325}, "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": 1720880352.2246761}, "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": 1720880352.2247207}, "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": 1720880352.224771}, "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": 1720880352.2248182}, "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": 1720880352.2248654}, "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": 1720880352.224914}, "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": 1720880352.2249613}, "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": 1720880352.2250073}, "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": 1720880352.2250552}, "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": 1720880352.2251017}, "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": 1720880352.2251518}, "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": 1720880352.2251992}, "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": 1720880352.2252488}, "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": 1720880352.2252984}, "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": 1720880352.225346}, "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": 1720880352.2253895}, "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": 1720880352.2254403}, "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": 1720880352.225492}, "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": 1720880352.2255385}, "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": 1720880352.22559}, "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": 1720880352.225639}, "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": 1720880352.2256832}, "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": 1720880352.2257273}, "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": 1720880352.2257743}, "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": 1720880352.2258375}, "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": 1720880352.225886}, "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": 1720880352.2259367}, "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": 1720880352.2259846}, "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": 1720880352.2260327}, "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": 1720880352.226076}, "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": 1720880352.226122}, "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": 1720880352.2261674}, "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": 1720880352.2262144}, "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": 1720880352.2262638}, "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": 1720880352.2263112}, "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": 1720880352.2263544}, "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": 1720880352.2264044}, "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": 1720880352.226454}, "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": 1720880352.2265103}, "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": 1720880352.22656}, "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": 1720880352.2266104}, "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": 1720880352.2266579}, "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": 1720880352.226705}, "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": 1720880352.2267559}, "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": 1720880352.2268014}, "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": 1720880352.2268524}, "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": 1720880352.2269008}, "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": 1720880352.226957}, "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": 1720880352.2270048}, "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": 1720880352.227055}, "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": 1720880352.2271059}, "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": 1720880352.2271497}, "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": 1720880352.2271998}, "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": 1720880352.2272441}, "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": 1720880352.227288}, "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": 1720880352.2273319}, "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": 1720880352.227382}, "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": 1720880352.2274299}, "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": 1720880352.2274804}, "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": 1720880352.2275312}, "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": 1720880352.2275815}, "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": 1720880352.2276337}, "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": 1720880352.227681}, "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": 1720880352.2277281}, "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": 1720880352.2277765}, "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": 1720880352.2278233}, "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": 1720880352.2278712}, "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": 1720880352.2279217}, "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": 1720880352.227971}, "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": 1720880352.2280211}, "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": 1720880352.2280743}, "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": 1720880352.2281227}, "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": 1720880352.228174}, "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": 1720880352.228222}, "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": 1720880352.2282724}, "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": 1720880352.228321}, "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": 1720880352.2283812}, "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": 1720880352.2284422}, "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": 1720880352.2285087}, "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": 1720880352.2285633}, "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": 1720880352.2286098}, "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": 1720880352.2286584}, "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": 1720880352.2287076}, "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": 1720880352.2287545}, "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": 1720880352.228801}, "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": 1720880352.2288518}, "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": 1720880352.2289002}, "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": 1720880352.2289453}, "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": 1720880352.2289948}, "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": 1720880352.2290452}, "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": 1720880352.229093}, "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": 1720880352.2291415}, "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": 1720880352.2291877}, "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": 1720880352.2292352}, "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": 1720880352.2292829}, "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": 1720880352.2293298}, "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": 1720880352.2293785}, "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": 1720880352.2294242}, "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": 1720880352.229473}, "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": 1720880352.2295256}, "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": 1720880352.2295718}, "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": 1720880352.2296185}, "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": 1720880352.2296634}, "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": 1720880352.229712}, "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": 1720880352.229762}, "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": 1720880352.2298079}, "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": 1720880352.2298598}, "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": 1720880352.2299058}, "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": 1720880352.2299564}, "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": 1720880352.2300024}, "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": 1720880352.230054}, "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": 1720880352.2301033}, "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": 1720880352.23015}, "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": 1720880352.2301974}, "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": 1720880352.2302463}, "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": 1720880352.2302945}, "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": 1720880352.2303445}, "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": 1720880352.2303934}, "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": 1720880352.2304406}, "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": 1720880352.2304926}, "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": 1720880352.2305486}, "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": 1720880352.2306004}, "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": 1720880352.2306483}, "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": 1720880352.230696}, "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": 1720880352.2307408}, "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": 1720880352.2307916}, "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": 1720880352.230838}, "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": 1720880352.2308857}, "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": 1720880352.2309353}, "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": 1720880352.2309852}, "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": 1720880352.2310457}, "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": 1720880352.2310934}, "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": 1720880352.231143}, "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": 1720880352.2311902}, "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": 1720880352.2312386}, "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": 1720880352.2312865}, "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": 1720880352.2313325}, "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": 1720880352.2313812}, "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": 1720880352.2314281}, "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": 1720880352.2314732}, "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": 1720880352.2315285}, "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": 1720880352.2315774}, "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": 1720880352.2316275}, "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": 1720880352.2316782}, "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": 1720880352.2317262}, "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": 1720880352.2317765}, "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": 1720880352.2318282}, "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": 1720880352.231874}, "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": 1720880352.2319205}, "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": 1720880352.2319655}, "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": 1720880352.2320154}, "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": 1720880352.2320626}, "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": 1720880352.2321072}, "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": 1720880352.2321541}, "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": 1720880352.232201}, "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": 1720880352.232248}, "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": 1720880352.2322981}, "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": 1720880352.2323484}, "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": 1720880352.2323937}, "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": 1720880352.2324433}, "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": 1720880352.2325008}, "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": 1720880352.232543}, "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": 1720880352.2325869}, "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": 1720880352.2326303}, "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": 1720880352.2326798}, "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": 1720880352.2327268}, "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": 1720880352.2327757}, "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": 1720880352.232822}, "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": 1720880352.2328684}, "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": 1720880352.232915}, "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": 1720880352.2329621}, "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": 1720880352.2330132}, "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": 1720880352.2330573}, "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": 1720880352.2331069}, "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": 1720880352.233155}, "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": 1720880352.233212}, "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": 1720880352.23327}, "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": 1720880352.2333186}, "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": 1720880352.233364}, "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": 1720880352.2334113}, "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": 1720880352.233459}, "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": 1720880352.2335126}, "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": 1720880352.2335672}, "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": 1720880352.233781}, "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": 1720880352.233831}, "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": 1720880352.2338784}, "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": 1720880352.2339313}, "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": 1720880352.233979}, "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": 1720880352.2340257}, "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": 1720880352.2340736}, "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": 1720880352.2341328}, "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": 1720880352.2341797}, "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": 1720880352.2342272}, "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": 1720880352.2342777}, "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": 1720880352.2343245}, "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": 1720880352.2343688}, "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": 1720880352.2344148}, "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": 1720880352.2344632}, "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": 1720880352.23452}, "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": 1720880352.2345698}, "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": 1720880352.234617}, "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": 1720880352.2346668}, "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": 1720880352.2347138}, "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": 1720880352.2347593}, "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": 1720880352.234806}, "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": 1720880352.2348537}, "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": 1720880352.234907}, "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": 1720880352.2349513}, "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": 1720880352.2349975}, "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": 1720880352.2350416}, "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": 1720880352.2350864}, "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": 1720880352.2351334}, "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": 1720880352.2351859}, "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": 1720880352.2355373}, "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": 1720880352.2355928}, "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": 1720880352.2356398}, "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": 1720880352.235687}, "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": 1720880352.2357364}, "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": 1720880352.2357829}, "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": 1720880352.235833}, "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": 1720880352.2358963}, "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": 1720880352.2359433}, "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": 1720880352.2359893}, "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": 1720880352.2360404}, "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": 1720880352.2360885}, "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": 1720880352.2361348}, "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": 1720880352.236182}, "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": 1720880352.2362301}, "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": 1720880352.2362761}, "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": 1720880352.2365296}, "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": 1720880352.2365801}, "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": 1720880352.2366283}, "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": 1720880352.2366774}, "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": 1720880352.2367244}, "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": 1720880352.2367706}, "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": 1720880352.23683}, "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": 1720880352.2368922}, "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": 1720880352.2369423}, "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": 1720880352.2369864}, "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": 1720880352.2370324}, "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": 1720880352.2370896}, "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": 1720880352.2371356}, "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": 1720880352.237186}, "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": 1720880352.2372406}, "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": 1720880352.2372913}, "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": 1720880352.2373457}, "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": 1720880352.2374008}, "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": 1720880352.2374563}, "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": 1720880352.2375188}, "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": 1720880352.237567}, "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": 1720880352.2376282}, "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": 1720880352.2376785}, "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": 1720880352.2377276}, "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": 1720880352.2377799}, "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": 1720880352.2378283}, "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": 1720880352.237878}, "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": 1720880352.2381322}, "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": 1720880352.2381842}, "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": 1720880352.2382333}, "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": 1720880352.2382855}, "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": 1720880352.2383351}, "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": 1720880352.2383842}, "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": 1720880352.2384374}, "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": 1720880352.2384937}, "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": 1720880352.2385547}, "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": 1720880352.2386036}, "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": 1720880352.238655}, "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": 1720880352.2387023}, "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": 1720880352.23875}, "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": 1720880352.238793}, "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": 1720880352.2388432}, "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": 1720880352.2388923}, "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": 1720880352.2389607}, "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": 1720880352.2390087}, "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": 1720880352.2390563}, "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": 1720880352.2391052}, "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": 1720880352.2391531}, "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": 1720880352.239204}, "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": 1720880352.2392466}, "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": 1720880352.2392952}, "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": 1720880352.2393517}, "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": 1720880352.2394001}, "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": 1720880352.2394457}, "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": 1720880352.2395024}, "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": 1720880352.2395473}, "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": 1720880352.239596}, "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": 1720880352.2396467}, "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": 1720880352.2396932}, "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": 1720880352.239757}, "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": 1720880352.2398233}, "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": 1720880352.2398725}, "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": 1720880352.239919}, "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": 1720880352.239969}, "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": 1720880352.2400177}, "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": 1720880352.240062}, "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": 1720880352.2401206}, "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": 1720880352.2401671}, "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": 1720880352.240215}, "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": 1720880352.2402596}, "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": 1720880352.2403045}, "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": 1720880352.2403507}, "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": 1720880352.2404106}, "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": 1720880352.240456}, "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": 1720880352.2405105}, "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": 1720880352.2405589}, "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": 1720880352.2406056}, "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": 1720880352.240652}, "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": 1720880352.2407022}, "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": 1720880352.2407491}, "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": 1720880352.2408025}, "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": 1720880352.240851}, "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": 1720880352.240897}, "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": 1720880352.2409475}, "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": 1720880352.2409937}, "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": 1720880352.2410595}, "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": 1720880352.2411096}, "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": 1720880352.2411573}, "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": 1720880352.2412095}, "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": 1720880352.241258}, "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": 1720880352.2413085}, "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": 1720880352.2413588}, "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": 1720880352.2414126}, "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": 1720880352.2414618}, "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": 1720880352.2415345}, "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": 1720880352.241589}, "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": 1720880352.2416499}, "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": 1720880352.2417102}, "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": 1720880352.2417579}, "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": 1720880352.2418044}, "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": 1720880352.241854}, "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": 1720880352.2420995}, "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": 1720880352.2421453}, "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": 1720880352.242194}, "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": 1720880352.24224}, "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": 1720880352.2422886}, "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": 1720880352.2423406}, "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": 1720880352.2423913}, "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": 1720880352.2424402}, "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": 1720880352.242503}, "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": 1720880352.2425506}, "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": 1720880352.2426224}, "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": 1720880352.2426786}, "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": 1720880352.2427387}, "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": 1720880352.2427897}, "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": 1720880352.242839}, "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": 1720880352.2428875}, "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": 1720880352.2429373}, "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": 1720880352.2429845}, "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": 1720880352.2430356}, "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": 1720880352.243086}, "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": 1720880352.2431345}, "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": 1720880352.2431817}, "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": 1720880352.2432277}, "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": 1720880352.2432747}, "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": 1720880352.2433224}, "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": 1720880352.2433805}, "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": 1720880352.2434278}, "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": 1720880352.2434754}, "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": 1720880352.243534}, "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": 1720880352.243583}, "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": 1720880352.2436333}, "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": 1720880352.2436802}, "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": 1720880352.2437367}, "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": 1720880352.2437866}, "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": 1720880352.243835}, "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": 1720880352.2438817}, "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": 1720880352.2439299}, "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": 1720880352.244203}, "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": 1720880352.2442482}, "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": 1720880352.2442942}, "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": 1720880352.2443423}, "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": 1720880352.2443874}, "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": 1720880352.2444417}, "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": 1720880352.2444959}, "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": 1720880352.2445445}, "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": 1720880352.2445896}, "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": 1720880352.244637}, "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": 1720880352.2446837}, "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": 1720880352.2447314}, "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": 1720880352.2447803}, "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": 1720880352.2448251}, "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": 1720880352.244875}, "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": 1720880352.2449224}, "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": 1720880352.244984}, "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": 1720880352.2450316}, "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": 1720880352.245079}, "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": 1720880352.2451234}, "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": 1720880352.24517}, "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": 1720880352.2452276}, "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": 1720880352.245278}, "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": 1720880352.245325}, "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": 1720880352.2453718}, "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": 1720880352.24542}, "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": 1720880352.2454839}, "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": 1720880352.2455382}, "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": 1720880352.2455997}, "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": 1720880352.2456465}, "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": 1720880352.2456932}, "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": 1720880352.2457407}, "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": 1720880352.2458081}, "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": 1720880352.2458692}, "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": 1720880352.2459154}, "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": 1720880352.2459633}, "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": 1720880352.246015}, "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": 1720880352.2463737}, "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": 1720880352.2464542}, "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": 1720880352.246519}, "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": 1720880352.2465694}, "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": 1720880352.2466455}, "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": 1720880352.2467077}, "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": 1720880352.246757}, "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": 1720880352.2468057}, "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": 1720880352.2468565}, "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": 1720880352.2469094}, "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": 1720880352.2469597}, "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": 1720880352.2470126}, "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": 1720880352.2470639}, "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": 1720880352.2471192}, "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": 1720880352.2471669}, "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": 1720880352.247219}, "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": 1720880352.2472734}, "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": 1720880352.2473178}, "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": 1720880352.2473638}, "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": 1720880352.2474132}, "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": 1720880352.247458}, "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": 1720880352.247518}, "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": 1720880352.2475615}, "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": 1720880352.2476065}, "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": 1720880352.24765}, "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": 1720880352.2476964}, "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": 1720880352.2477467}, "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": 1720880352.2477987}, "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": 1720880352.2478447}, "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": 1720880352.2478883}, "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": 1720880352.2479331}, "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": 1720880352.2479765}, "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": 1720880352.2480295}, "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": 1720880352.2480757}, "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": 1720880352.2481248}, "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": 1720880352.2481751}, "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": 1720880352.2482285}, "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": 1720880352.2482812}, "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": 1720880352.2483282}, "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": 1720880352.248377}, "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": 1720880352.248429}, "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": 1720880352.2484832}, "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": 1720880352.2487862}, "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": 1720880352.2488494}, "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": 1720880352.2489145}, "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": 1720880352.2489662}, "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": 1720880352.2490187}, "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": 1720880352.2490718}, "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": 1720880352.2491271}, "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": 1720880352.2491875}, "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": 1720880352.249238}, "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": 1720880352.2492878}, "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": 1720880352.2493372}, "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": 1720880352.2493951}, "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": 1720880352.2494438}, "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": 1720880352.2494972}, "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": 1720880352.249545}, "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": 1720880352.249594}, "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": 1720880352.2496512}, "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": 1720880352.2497034}, "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": 1720880352.2497525}, "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": 1720880352.2497995}, "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": 1720880352.2498493}, "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": 1720880352.2498972}, "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": 1720880352.2499452}, "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": 1720880352.249994}, "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": 1720880352.250041}, "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": 1720880352.2500882}, "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": 1720880352.2501338}, "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": 1720880352.2501838}, "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": 1720880352.2502372}, "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": 1720880352.2502956}, "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": 1720880352.250352}, "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": 1720880352.2504013}, "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": 1720880352.2506552}, "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": 1720880352.2507188}, "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": 1720880352.2507694}, "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": 1720880352.250818}, "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": 1720880352.250869}, "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": 1720880352.2509174}, "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": 1720880352.2509692}, "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": 1720880352.2510161}, "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": 1720880352.2510645}, "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": 1720880352.2511146}, "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": 1720880352.2511675}, "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": 1720880352.2512295}, "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": 1720880352.2512782}, "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": 1720880352.251325}, "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": 1720880352.2513857}, "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": 1720880352.251429}, "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": 1720880352.2514772}, "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": 1720880352.2515364}, "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": 1720880352.251585}, "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": 1720880352.2516334}, "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": 1720880352.251681}, "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": 1720880352.2517278}, "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": 1720880352.2517796}, "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": 1720880352.2518528}, "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": 1720880352.251904}, "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": 1720880352.2519548}, "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": 1720880352.252005}, "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": 1720880352.2520585}, "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": 1720880352.2521172}, "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": 1720880352.2521682}, "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": 1720880352.2522202}, "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": 1720880352.2522688}, "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": 1720880352.2523186}, "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": 1720880352.2523682}, "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": 1720880352.2524166}, "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": 1720880352.2524645}, "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": 1720880352.252528}, "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": 1720880352.2525764}, "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": 1720880352.2526333}, "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": 1720880352.2526822}, "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": 1720880352.2527366}, "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": 1720880352.2528381}, "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": 1720880352.2529838}, "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": 1720880352.2532809}, "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": 1720880352.2533348}, "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": 1720880352.2533832}, "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": 1720880352.2534347}, "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": 1720880352.2534947}, "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": 1720880352.2535517}, "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": 1720880352.253601}, "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": 1720880352.2536526}, "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": 1720880352.2537045}, "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": 1720880352.2537599}, "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": 1720880352.253819}, "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": 1720880352.253867}, "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": 1720880352.2539172}, "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": 1720880352.2539694}, "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": 1720880352.254019}, "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": 1720880352.2540693}, "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": 1720880352.254135}, "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": 1720880352.2541878}, "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": 1720880352.2542374}, "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": 1720880352.2542849}, "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": 1720880352.25433}, "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": 1720880352.2543793}, "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": 1720880352.2544272}, "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": 1720880352.2544742}, "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": 1720880352.2545457}, "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": 1720880352.2545934}, "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": 1720880352.2546573}, "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": 1720880352.2547085}, "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": 1720880352.2547567}, "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": 1720880352.254808}, "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": 1720880352.254858}, "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": 1720880352.2549055}, "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": 1720880352.254978}, "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": 1720880352.2550426}, "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": 1720880352.255091}, "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": 1720880352.255141}, "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": 1720880352.2551908}, "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": 1720880352.2552412}, "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": 1720880352.2552884}, "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": 1720880352.255334}, "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": 1720880352.2553833}, "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": 1720880352.2554314}, "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": 1720880352.2554815}, "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": 1720880352.2555418}, "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": 1720880352.2555919}, "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": 1720880352.2556443}, "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": 1720880352.2556949}, "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": 1720880352.255744}, "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": 1720880352.2558014}, "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": 1720880352.2558494}, "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": 1720880352.2558966}, "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": 1720880352.2559466}, "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": 1720880352.2559943}, "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": 1720880352.2560527}, "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": 1720880352.2561026}, "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": 1720880352.2561524}, "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": 1720880352.2561996}, "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": 1720880352.2562497}, "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": 1720880352.2562988}, "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": 1720880352.2563655}, "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": 1720880352.2564235}, "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": 1720880352.256475}, "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": 1720880352.2565389}, "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": 1720880352.256591}, "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": 1720880352.2566414}, "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": 1720880352.256687}, "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": 1720880352.2567322}, "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": 1720880352.2567809}, "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": 1720880352.2568302}, "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": 1720880352.25688}, "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": 1720880352.2569284}, "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": 1720880352.2569783}, "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": 1720880352.2570248}, "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": 1720880352.2570765}, "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": 1720880352.257363}, "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": 1720880352.2574143}, "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": 1720880352.2574654}, "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": 1720880352.2575252}, "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": 1720880352.2575743}, "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": 1720880352.2576244}, "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": 1720880352.2576714}, "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": 1720880352.2577205}, "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": 1720880352.2577684}, "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": 1720880352.2578197}, "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": 1720880352.2578716}, "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": 1720880352.258173}, "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": 1720880352.2582474}, "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": 1720880352.2583}, "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": 1720880352.2583554}, "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": 1720880352.2584057}, "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": 1720880352.2584734}, "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": 1720880352.258534}, "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": 1720880352.2585807}, "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": 1720880352.2586246}, "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": 1720880352.2586744}, "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": 1720880352.2587204}, "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": 1720880352.2587721}, "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": 1720880352.258826}, "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": 1720880352.2588756}, "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": 1720880352.2589376}, "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": 1720880352.258989}, "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": 1720880352.25904}, "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": 1720880352.259095}, "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": 1720880352.2591453}, "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": 1720880352.259195}, "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": 1720880352.259256}, "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": 1720880352.2593029}, "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": 1720880352.2593484}, "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": 1720880352.259394}, "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": 1720880352.259441}, "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": 1720880352.2595022}, "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": 1720880352.2595701}, "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": 1720880352.2596219}, "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": 1720880352.259671}, "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": 1720880352.2597196}, "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": 1720880352.2597685}, "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": 1720880352.259822}, "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": 1720880352.259872}, "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": 1720880352.2599204}, "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": 1720880352.2599785}, "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": 1720880352.2600255}, "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": 1720880352.2600677}, "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": 1720880352.260118}, "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": 1720880352.2601743}, "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": 1720880352.260221}, "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": 1720880352.2602699}, "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": 1720880352.2603164}, "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": 1720880352.2603633}, "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": 1720880352.2604108}, "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": 1720880352.260457}, "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": 1720880352.2605073}, "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": 1720880352.2605567}, "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": 1720880352.2606041}, "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": 1720880352.260855}, "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": 1720880352.2609022}, "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": 1720880352.260949}, "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": 1720880352.2610025}, "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": 1720880352.2610564}, "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": 1720880352.2611256}, "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": 1720880352.2611935}, "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": 1720880352.261244}, "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": 1720880352.2612946}, "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": 1720880352.2613425}, "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": 1720880352.2613924}, "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": 1720880352.261441}, "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": 1720880352.2614937}, "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": 1720880352.2615466}, "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": 1720880352.2615938}, "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": 1720880352.2616425}, "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": 1720880352.2616918}, "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": 1720880352.2617414}, "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": 1720880352.2617853}, "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": 1720880352.2618332}, "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": 1720880352.2618835}, "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": 1720880352.2619553}, "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": 1720880352.2620049}, "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": 1720880352.2620513}, "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": 1720880352.2620988}, "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": 1720880352.2621486}, "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": 1720880352.2621963}, "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": 1720880352.2622445}, "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": 1720880352.2622924}, "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": 1720880352.2623425}, "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": 1720880352.2623923}, "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": 1720880352.2626662}, "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": 1720880352.2627192}, "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": 1720880352.26277}, "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": 1720880352.262819}, "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": 1720880352.262873}, "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": 1720880352.2629216}, "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": 1720880352.263179}, "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": 1720880352.2632327}, "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": 1720880352.263282}, "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": 1720880352.263334}, "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": 1720880352.2633805}, "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": 1720880352.2634318}, "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": 1720880352.26348}, "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": 1720880352.2635417}, "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": 1720880352.2635903}, "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": 1720880352.2636461}, "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": 1720880352.2636976}, "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": 1720880352.263748}, "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": 1720880352.2637935}, "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": 1720880352.2638435}, "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": 1720880352.2638915}, "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": 1720880352.2639399}, "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": 1720880352.2639878}, "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": 1720880352.264036}, "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": 1720880352.264083}, "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": 1720880352.2641323}, "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": 1720880352.2641792}, "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": 1720880352.2642403}, "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": 1720880352.264302}, "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": 1720880352.264351}, "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": 1720880352.2643995}, "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": 1720880352.2644446}, "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": 1720880352.2645097}, "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": 1720880352.2645578}, "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": 1720880352.2646055}, "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": 1720880352.2646532}, "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": 1720880352.2647061}, "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": 1720880352.2647629}, "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": 1720880352.2648158}, "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": 1720880352.2648656}, "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": 1720880352.2649171}, "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": 1720880352.2649705}, "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": 1720880352.265021}, "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": 1720880352.265099}, "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": 1720880352.2651544}, "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": 1720880352.2652066}, "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": 1720880352.2652557}, "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": 1720880352.2653017}, "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": 1720880352.265364}, "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": 1720880352.2654116}, "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": 1720880352.2654634}, "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": 1720880352.2655313}, "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": 1720880352.2655807}, "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": 1720880352.2656362}, "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": 1720880352.2656848}, "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": 1720880352.2659655}, "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": 1720880352.2660205}, "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": 1720880352.2660713}, "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": 1720880352.2661269}, "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": 1720880352.266176}, "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": 1720880352.266234}, "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": 1720880352.2662961}, "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": 1720880352.2663484}, "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": 1720880352.266397}, "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": 1720880352.266444}, "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": 1720880352.2665057}, "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": 1720880352.266555}, "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": 1720880352.2666025}, "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": 1720880352.2666507}, "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": 1720880352.2667}, "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": 1720880352.2667477}, "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": 1720880352.2667968}, "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": 1720880352.2668433}, "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": 1720880352.266893}, "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": 1720880352.266948}, "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": 1720880352.2669978}, "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": 1720880352.267046}, "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": 1720880352.267096}, "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": 1720880352.2671435}, "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": 1720880352.267193}, "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": 1720880352.2672493}, "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": 1720880352.267311}, "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": 1720880352.2673588}, "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": 1720880352.2674048}, "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": 1720880352.2674513}, "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": 1720880352.26751}, "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": 1720880352.2675622}, "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": 1720880352.26761}, "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": 1720880352.2676597}, "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": 1720880352.2677073}, "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": 1720880352.2677584}, "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": 1720880352.2678053}, "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": 1720880352.2678492}, "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": 1720880352.2678967}, "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": 1720880352.2679424}, "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": 1720880352.2679935}, "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": 1720880352.2680392}, "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": 1720880352.2680855}, "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": 1720880352.2681305}, "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": 1720880352.2681775}, "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": 1720880352.2682242}, "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": 1720880352.2682939}, "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": 1720880352.2683454}, "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": 1720880352.2683938}, "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": 1720880352.2684436}, "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": 1720880352.268501}, "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": 1720880352.2685454}, "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": 1720880352.2685933}, "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": 1720880352.268641}, "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": 1720880352.2686832}, "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": 1720880352.268731}, "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": 1720880352.2687783}, "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": 1720880352.2688267}, "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": 1720880352.2688754}, "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": 1720880352.2689226}, "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": 1720880352.2689712}, "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": 1720880352.2690196}, "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": 1720880352.2690823}, "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": 1720880352.2691302}, "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": 1720880352.2691817}, "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": 1720880352.2692292}, "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": 1720880352.2692914}, "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": 1720880352.2693408}, "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": 1720880352.2693863}, "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": 1720880352.2694352}, "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": 1720880352.2694802}, "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": 1720880352.2695527}, "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": 1720880352.2695987}, "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": 1720880352.2696505}, "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": 1720880352.269701}, "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": 1720880352.2697513}, "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": 1720880352.269798}, "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": 1720880352.2698498}, "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": 1720880352.2699142}, "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": 1720880352.2701855}, "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": 1720880352.2702386}, "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": 1720880352.270291}, "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": 1720880352.2703416}, "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": 1720880352.2704165}, "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": 1720880352.2704701}, "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": 1720880352.2705324}, "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": 1720880352.2705836}, "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": 1720880352.2706363}, "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": 1720880352.2706904}, "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": 1720880352.2707422}}, "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": 1720880350.5765698, "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": 1720880350.5768843, "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": 1720880350.5769887, "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": 1720880350.5771894, "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": 1720880350.5777352, "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": 1720880350.5842214, "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": 1720880350.5847795, "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": 1720880350.584997, "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": 1720880350.5851996, "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": 1720880350.5856907, "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": 1720880350.5859833, "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": 1720880350.5860941, "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": 1720880350.5863087, "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": 1720880350.5865731, "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": 1720880350.587102, "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": 1720880350.587227, "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": 1720880350.587457, "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": 1720880350.5876436, "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": 1720880350.5879214, "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": 1720880350.5880587, "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": 1720880350.5884094, "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": 1720880350.5885427, "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": 1720880350.588622, "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": 1720880350.5887616, "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": 1720880350.588851, "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": 1720880350.589382, "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": 1720880350.5894632, "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": 1720880350.5906339, "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": 1720880350.5908725, "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": 1720880350.591094, "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": 1720880350.5912313, "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": 1720880350.5913045, "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": 1720880350.5913758, "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": 1720880350.5914433, "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": 1720880350.5917869, "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": 1720880350.5940447, "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": 1720880350.5943263, "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": 1720880350.5947676, "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": 1720880350.594866, "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": 1720880350.5950103, "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": 1720880350.5952501, "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": 1720880350.5957482, "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": 1720880350.595858, "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": 1720880350.5959482, "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": 1720880350.5963056, "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": 1720880350.596414, "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": 1720880350.5965023, "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": 1720880350.5969398, "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": 1720880350.597227, "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": 1720880350.597342, "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": 1720880350.5975454, "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": 1720880350.5976384, "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": 1720880350.597732, "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": 1720880350.5984476, "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": 1720880350.5988133, "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": 1720880350.5990028, "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": 1720880350.5992317, "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": 1720880350.5993958, "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": 1720880350.5994978, "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": 1720880350.5996861, "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": 1720880350.5997784, "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": 1720880350.5999427, "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": 1720880350.600012, "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": 1720880350.6002376, "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": 1720880350.6003497, "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": 1720880350.6005497, "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": 1720880350.6006372, "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": 1720880350.6010027, "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": 1720880350.6011088, "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": 1720880350.6012425, "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": 1720880350.601394, "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": 1720880350.601459, "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": 1720880350.6016004, "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": 1720880350.6016495, "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": 1720880350.6018028, "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": 1720880350.6019058, "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": 1720880350.6024787, "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": 1720880350.602768, "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": 1720880350.6028798, "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": 1720880350.603252, "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": 1720880350.6034117, "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": 1720880350.6035118, "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": 1720880350.6039202, "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": 1720880350.6041632, "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": 1720880350.6046536, "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": 1720880350.6050062, "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": 1720880350.6051576, "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": 1720880350.6054018, "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": 1720880350.6056545, "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": 1720880350.6058161, "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": 1720880350.605969, "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": 1720880350.606033, "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": 1720880350.6062026, "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": 1720880350.6062818, "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": 1720880350.6064382, "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": 1720880350.6065292, "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": 1720880350.6066628, "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": 1720880350.6067147, "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": 1720880350.606894, "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": 1720880350.6069822, "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": 1720880350.607154, "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": 1720880350.6072345, "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": 1720880350.6074402, "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": 1720880350.6077812, "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": 1720880350.6085136, "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": 1720880350.6088083, "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": 1720880350.6089082, "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": 1720880350.609, "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": 1720880350.609096, "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": 1720880350.609184, "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": 1720880350.609295, "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": 1720880350.6094031, "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": 1720880350.609512, "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": 1720880350.6096103, "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": 1720880350.6097052, "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": 1720880350.6097915, "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": 1720880350.6098864, "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": 1720880350.6099722, "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": 1720880350.6101232, "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": 1720880350.6101995, "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": 1720880350.6103556, "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": 1720880350.6104245, "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": 1720880350.610619, "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": 1720880350.6107028, "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": 1720880350.6109064, "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": 1720880350.6110775, "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": 1720880350.6112738, "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": 1720880350.6113746, "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": 1720880350.6115494, "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": 1720880350.6116288, "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": 1720880350.6118858, "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": 1720880350.6121767, "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": 1720880350.6125433, "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": 1720880350.6127048, "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": 1720880350.6128788, "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": 1720880350.6131246, "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": 1720880350.613281, "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": 1720880350.6135519, "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": 1720880350.6137962, "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": 1720880350.6139724, "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": 1720880350.614103, "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": 1720880350.6146605, "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": 1720880350.614745, "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": 1720880350.6148405, "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": 1720880350.6150746, "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": 1720880350.6152012, "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": 1720880350.615291, "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": 1720880350.6153913, "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": 1720880350.6154733, "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": 1720880350.615738, "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": 1720880350.6158528, "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": 1720880350.6159492, "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": 1720880350.6160583, "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": 1720880350.6175864, "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": 1720880350.6176927, "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": 1720880350.6178799, "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": 1720880350.6180868, "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": 1720880350.6182241, "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": 1720880350.6183383, "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": 1720880350.6190598, "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": 1720880350.619267, "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": 1720880350.6193757, "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": 1720880350.6195896, "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": 1720880350.6197267, "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": 1720880350.6200757, "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": 1720880350.620228, "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": 1720880350.620691, "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": 1720880350.6221147, "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": 1720880350.6222122, "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": 1720880350.622341, "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": 1720880350.6225321, "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": 1720880350.6226788, "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": 1720880350.6228657, "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": 1720880350.622972, "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": 1720880350.6230643, "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": 1720880350.6232038, "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": 1720880350.6235266, "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": 1720880350.6236682, "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": 1720880350.6237538, "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": 1720880350.624925, "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": 1720880350.6249938, "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": 1720880350.6250887, "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": 1720880350.6252162, "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": 1720880350.6254244, "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": 1720880350.6255505, "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": 1720880350.6256146, "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": 1720880350.6257474, "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": 1720880350.6258638, "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": 1720880350.6259992, "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": 1720880350.6261177, "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": 1720880350.626252, "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": 1720880350.6266766, "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": 1720880350.6268046, "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": 1720880350.6269546, "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": 1720880350.6270971, "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": 1720880350.6277676, "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": 1720880350.6282227, "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": 1720880350.6283276, "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": 1720880350.628446, "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": 1720880350.6285546, "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": 1720880350.6287098, "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": 1720880350.629256, "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": 1720880350.6295977, "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": 1720880350.6297157, "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": 1720880350.629797, "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": 1720880350.630144, "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": 1720880350.6305358, "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": 1720880350.6306236, "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": 1720880350.630926, "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": 1720880350.6311095, "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": 1720880350.6311622, "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": 1720880350.6312678, "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": 1720880350.6313736, "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": 1720880350.6337078, "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": 1720880350.6338642, "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": 1720880350.6339862, "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": 1720880350.6341486, "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": 1720880350.6342635, "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": 1720880350.6343632, "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": 1720880350.6344738, "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": 1720880350.6346385, "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": 1720880350.634765, "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": 1720880350.6349475, "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": 1720880350.6350558, "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": 1720880350.6351495, "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": 1720880350.6352537, "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": 1720880350.6353476, "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": 1720880350.6354444, "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": 1720880350.6355417, "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": 1720880350.6359308, "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": 1720880350.6360362, "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": 1720880350.6369495, "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": 1720880350.6373665, "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": 1720880350.6375465, "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": 1720880350.6387925, "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": 1720880350.6394804, "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": 1720880350.6399326, "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": 1720880350.6400757, "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": 1720880350.6412256, "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": 1720880350.6413186, "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": 1720880350.6418068, "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": 1720880350.642048, "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": 1720880350.6423907, "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": 1720880350.6426802, "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": 1720880350.642729, "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": 1720880350.6449647, "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": 1720880350.6455274, "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": 1720880350.6461942, "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": 1720880350.6468725, "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": 1720880350.6469898, "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": 1720880350.6470795, "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": 1720880350.6471694, "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": 1720880350.6472545, "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": 1720880350.6475148, "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": 1720880350.647706, "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": 1720880350.6481292, "supported_languages": null}, "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": 1720880350.6483948, "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": 1720880350.6486435, "supported_languages": null}, "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": 1720880350.6493924, "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": 1720880350.649659, "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": 1720880350.649789, "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": 1720880350.6501591, "supported_languages": null}, "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": 1720880350.6518416, "supported_languages": ["sql"]}, "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": 1720880350.6529443, "supported_languages": ["sql"]}, "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": 1720880350.6559157, "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": 1720880350.6560879, "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": 1720880350.6561906, "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": 1720880350.6562464, "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": 1720880350.6563349, "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": 1720880350.6564054, "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": 1720880350.6565363, "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": 1720880350.657329, "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": 1720880350.6574535, "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": 1720880350.6576257, "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": 1720880350.6579006, "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": 1720880350.6581967, "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": 1720880350.6583664, "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": 1720880350.6609461, "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": 1720880350.6610541, "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": 1720880350.6611893, "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": 1720880350.6616287, "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": 1720880350.66173, "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": 1720880350.661845, "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": 1720880350.6627462, "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": 1720880350.6637392, "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": 1720880350.66815, "supported_languages": ["sql"]}, "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": 1720880350.6700108, "supported_languages": ["sql"]}, "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": 1720880350.671904, "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": 1720880350.675293, "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": 1720880350.6755319, "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": 1720880350.6756792, "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": 1720880350.6764205, "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": 1720880350.676565, "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": 1720880350.6769326, "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": 1720880350.6815326, "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": 1720880350.6824958, "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": 1720880350.6826565, "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": 1720880350.6832495, "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": 1720880350.68341, "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": 1720880350.683805, "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": 1720880350.6872296, "supported_languages": ["sql"]}, "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": 1720880350.6883256, "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": 1720880350.6886547, "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": 1720880350.6890438, "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": 1720880350.6891863, "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": 1720880350.6896214, "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": 1720880350.690206, "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": 1720880350.6903424, "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": 1720880350.6904676, "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": 1720880350.690653, "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": 1720880350.6907616, "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": 1720880350.6909301, "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": 1720880350.6910381, "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": 1720880350.6911883, "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": 1720880350.691298, "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": 1720880350.6914005, "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": 1720880350.6915917, "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": 1720880350.691989, "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": 1720880350.6959305, "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": 1720880350.6969552, "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": 1720880350.6977577, "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": 1720880350.6982684, "supported_languages": null}, "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": 1720880350.698455, "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": 1720880350.6985462, "supported_languages": null}, "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": 1720880350.7007995, "supported_languages": ["sql"]}, "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": 1720880350.7009575, "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": 1720880350.7010283, "supported_languages": null}, "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": 1720880350.7045333, "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": 1720880350.7050552, "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": 1720880350.7051947, "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": 1720880350.7055202, "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": 1720880350.7056432, "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": 1720880350.7057242, "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": 1720880350.7058082, "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": 1720880350.7058768, "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": 1720880350.7059731, "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": 1720880350.706042, "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": 1720880350.7063468, "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": 1720880350.7064576, "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": 1720880350.7074463, "supported_languages": null}, "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": 1720880350.7095168, "supported_languages": ["sql"]}, "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": 1720880350.7097585, "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": 1720880350.710111, "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": 1720880350.710295, "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": 1720880350.7104464, "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": 1720880350.710773, "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": 1720880350.7110682, "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": 1720880350.711294, "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": 1720880350.7114549, "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": 1720880350.711943, "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": 1720880350.712195, "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": 1720880350.712336, "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": 1720880350.7125137, "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": 1720880350.7126813, "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": 1720880350.71281, "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": 1720880350.7130215, "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": 1720880350.7131517, "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": 1720880350.7134073, "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": 1720880350.7135882, "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": 1720880350.7137952, "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": 1720880350.7139192, "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": 1720880350.7144368, "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": 1720880350.7146935, "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": 1720880350.714821, "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": 1720880350.7149386, "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": 1720880350.7150545, "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": 1720880350.7156224, "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": 1720880350.7163758, "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": 1720880350.71665, "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": 1720880350.7167456, "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": 1720880350.7168522, "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": 1720880350.7173278, "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": 1720880350.7175136, "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": 1720880350.7176049, "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": 1720880350.7177522, "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": 1720880350.717816, "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": 1720880350.7183976, "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": 1720880350.7184906, "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": 1720880350.719153, "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": 1720880350.719281, "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": 1720880350.719425, "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": 1720880350.720022, "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": 1720880350.7201312, "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": 1720880350.720381, "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": 1720880350.721233, "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": 1720880350.7215302, "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": 1720880350.7216468, "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": 1720880350.7217577, "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": 1720880350.7219381, "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": 1720880350.7220287, "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": 1720880350.7221806, "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": 1720880350.7222452, "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": 1720880350.722427, "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": 1720880350.7225242, "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": 1720880350.7233791, "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": 1720880350.723453, "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": 1720880350.7237713, "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": 1720880350.7238727, "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": 1720880350.7239547, "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": 1720880350.724697, "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": 1720880350.7249258, "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": 1720880350.7251306, "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": 1720880350.7253046, "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": 1720880350.7253911, "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": 1720880350.7255702, "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": 1720880350.7256591, "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": 1720880350.7258115, "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": 1720880350.7258759, "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": 1720880350.7260664, "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": 1720880350.726146, "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": 1720880350.726315, "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": 1720880350.726403, "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": 1720880350.7267938, "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": 1720880350.7269084, "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": 1720880350.7270823, "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": 1720880350.7271783, "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": 1720880350.727562, "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": 1720880350.7277179, "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": 1720880350.7279108, "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": 1720880350.7281513, "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": 1720880350.7283852, "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": 1720880350.7289631, "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": 1720880350.7292976, "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": 1720880350.729684, "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": 1720880350.7298794, "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": 1720880350.7300694, "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": 1720880350.7308254, "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": 1720880350.7314637, "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": 1720880350.73206, "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": 1720880350.732748, "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": 1720880350.7331922, "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": 1720880350.7334015, "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": 1720880350.733868, "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": 1720880350.7343721, "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": 1720880350.734667, "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": 1720880350.7349448, "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": 1720880350.7353299, "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": 1720880350.735623, "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": 1720880350.7359672, "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": 1720880350.736406, "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": 1720880350.736841, "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": 1720880350.737303, "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": 1720880350.737744, "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": 1720880350.73819, "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": 1720880350.7385795, "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": 1720880350.7388027, "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": 1720880350.7390697, "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": 1720880350.7392786, "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": 1720880350.7397056, "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": 1720880350.7401783, "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": 1720880350.7407773, "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": 1720880350.7413058, "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": 1720880350.741844, "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": 1720880350.7427316, "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": 1720880350.743165, "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": 1720880350.7433753, "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": 1720880350.7460268, "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": 1720880350.747263, "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": 1720880350.7474508, "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": 1720880350.74757, "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": 1720880350.747851, "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": 1720880350.7480214, "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": 1720880350.7481506, "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": 1720880350.7483158, "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": 1720880350.7484264, "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": 1720880350.7488115, "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": 1720880350.7493353, "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": 1720880350.7500668, "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": 1720880350.7505324, "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": 1720880350.7506716, "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": 1720880350.7508907, "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": 1720880350.7511654, "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": 1720880350.7515268, "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": 1720880350.7517312, "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": 1720880350.7519352, "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": 1720880350.752391, "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": 1720880350.7529187, "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": 1720880350.7535074, "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": 1720880350.753788, "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": 1720880350.7539113, "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": 1720880350.7542443, "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": 1720880350.754725, "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": 1720880350.7552652, "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": 1720880350.7555456, "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": 1720880350.7557309, "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": 1720880350.7565842, "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": 1720880350.7574413, "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": 1720880350.7583258, "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": 1720880350.759265, "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": 1720880350.759441, "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": 1720880350.7595305, "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": 1720880350.761816, "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": 1720880350.7647216, "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": 1720880350.7649233, "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": 1720880350.7650747, "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": 1720880350.7656083, "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": 1720880350.7657561, "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": 1720880350.7658923, "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": 1720880350.7660072, "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": 1720880350.7661092, "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": 1720880350.7662268, "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": 1720880350.7664676, "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": 1720880350.7666314, "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": 1720880350.7668824, "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": 1720880350.767211, "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": 1720880350.76743, "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": 1720880350.7676482, "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": 1720880350.7688174, "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": 1720880350.769035, "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": 1720880350.7694535, "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": 1720880350.7697575, "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": 1720880350.7705028, "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": 1720880350.7719119, "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": 1720880350.772603, "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": 1720880350.7730997, "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": 1720880350.7733955, "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": 1720880350.773823, "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": 1720880350.7743556, "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": 1720880350.7746398, "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": 1720880350.7747538, "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": 1720880350.7749972, "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": 1720880350.775344, "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": 1720880350.7756379, "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": 1720880350.7760093, "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": 1720880350.7763734, "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": 1720880350.7764618, "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": 1720880350.7765713, "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": 1720880350.776886, "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": 1720880350.777241, "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": 1720880350.7777023, "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": 1720880350.7784657, "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": 1720880350.778657, "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": 1720880350.7789993, "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": 1720880350.7795131, "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": 1720880351.8013458, "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_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": 1720880351.7996948, "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_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": 1720880351.7991607, "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_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": 1720880351.8019733, "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": 1720880351.8023932, "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_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": 1720880351.8017662, "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_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": 1720880351.8030427, "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_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": 1720880351.800111, "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_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": 1720880351.7965667, "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.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": 1720880351.7957184, "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_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": 1720880351.797079, "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_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": 1720880351.794972, "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_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": 1720880351.7926736, "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_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": 1720880351.7920325, "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.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": 1720880352.0318513, "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": 1720880352.0337138, "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_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": 1720880352.0324636, "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}], "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": 1720880352.0328143, "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_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": 1720880352.034365, "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}]}, "parent_map": {"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_core_pool_collateral_arbitrum_mainnet": ["model.synthetix.core_deposited_arbitrum_mainnet", "model.synthetix.core_withdrawn_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_pool_debt_arbitrum_mainnet": ["model.synthetix.core_vault_debt_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_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_core_account_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": ["model.synthetix.core_market_updated_arbitrum_mainnet"], "model.synthetix.fct_core_apr_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pools_arbitrum_mainnet": ["model.synthetix.core_pool_created_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_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"], "model.synthetix.fct_spot_markets_arbitrum_mainnet": ["model.synthetix.spot_synth_registered_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_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_wrapper_arbitrum_mainnet": ["model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"], "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_market_updated_arbitrum_sepolia": ["model.synthetix.core_market_updated_arbitrum_sepolia"], "model.synthetix.fct_core_apr_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pools_arbitrum_sepolia": ["model.synthetix.core_pool_created_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_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_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_pool_collateral_arbitrum_sepolia": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_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_pool_debt_arbitrum_sepolia": ["model.synthetix.core_vault_debt_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_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_core_account_delegation_arbitrum_sepolia": ["model.synthetix.core_delegation_updated_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_spot_atomics_arbitrum_sepolia": ["model.synthetix.spot_synth_bought_arbitrum_sepolia", "model.synthetix.spot_synth_sold_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_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_prices_hourly_base_mainnet": ["model.synthetix.fct_prices_base_mainnet"], "model.synthetix.fct_core_apr_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_core_vault_collateral_base_mainnet": ["model.synthetix.core_vault_collateral_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_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_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_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_debt_base_mainnet", "model.synthetix.fct_pool_issuance_base_mainnet"], "model.synthetix.fct_core_market_updated_base_mainnet": ["model.synthetix.core_market_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_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_core_account_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_core_pool_delegation_base_mainnet": ["model.synthetix.core_delegation_updated_base_mainnet"], "model.synthetix.fct_pool_debt_base_mainnet": ["model.synthetix.core_vault_debt_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_pools_base_mainnet": ["model.synthetix.core_pool_created_base_mainnet"], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": ["model.synthetix.perp_previous_order_expired_base_mainnet"], "model.synthetix.fct_perp_accounts_base_mainnet": ["model.synthetix.perp_account_created_base_mainnet"], "model.synthetix.fct_perp_interest_charged_base_mainnet": ["model.synthetix.perp_interest_charged_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_orders_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet", "model.synthetix.perp_order_committed_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_pnl_base_mainnet": ["model.synthetix.core_vault_debt_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_markets_base_mainnet": ["model.synthetix.perp_market_created_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_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_buyback_hourly_base_mainnet": ["model.synthetix.fct_buyback_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_market_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_liq_position_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_market_stats_daily_base_mainnet": ["model.synthetix.fct_perp_market_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_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_tracking_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_trades_base_mainnet"], "model.synthetix.fct_perp_keeper_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_account_stats_daily_base_mainnet": ["model.synthetix.fct_perp_account_stats_hourly_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.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_core_pool_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_pool_debt_base_sepolia": ["model.synthetix.core_vault_debt_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_core_pools_base_sepolia": ["model.synthetix.core_pool_created_base_sepolia"], "model.synthetix.fct_core_apr_base_sepolia": ["model.synthetix.fct_pool_pnl_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_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_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_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_issuance_base_sepolia"], "model.synthetix.fct_core_market_updated_base_sepolia": ["model.synthetix.core_market_updated_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_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_core_account_delegation_base_sepolia": ["model.synthetix.core_delegation_updated_base_sepolia"], "model.synthetix.fct_perp_pnl_base_sepolia": ["model.synthetix.core_vault_debt_base_sepolia"], "model.synthetix.fct_perp_collateral_modified_base_sepolia": ["model.synthetix.perp_collateral_modified_base_sepolia"], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.perp_account_liquidation_attempt_base_sepolia"], "model.synthetix.fct_perp_markets_base_sepolia": ["model.synthetix.perp_market_created_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_previous_order_expired_base_sepolia": ["model.synthetix.perp_previous_order_expired_base_sepolia"], "model.synthetix.fct_perp_accounts_base_sepolia": ["model.synthetix.perp_account_created_base_sepolia"], "model.synthetix.fct_perp_interest_charged_base_sepolia": ["model.synthetix.perp_interest_charged_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_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_buyback_base_sepolia": ["model.synthetix.buyback_processed_base_sepolia"], "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_perp_market_stats_daily_base_sepolia": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": ["model.synthetix.fct_perp_keeper_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_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_base_sepolia"], "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": ["model.synthetix.fct_perp_trades_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_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_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_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_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.blocks_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"], "model.synthetix.core_withdrawn_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_rewards_claimed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"], "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_pool_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_vault_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"], "model.synthetix.core_liquidation_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_delegation_updated_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"], "model.synthetix.core_vault_debt_arbitrum_mainnet": ["model.synthetix.blocks_arbitrum_mainnet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"], "model.synthetix.core_rewards_distributed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.core_vault_collateral_arbitrum_mainnet": ["model.synthetix.blocks_arbitrum_mainnet", "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"], "model.synthetix.core_usd_burned_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_market_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_account_created_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"], "model.synthetix.core_deposited_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"], "model.synthetix.core_usd_minted_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"], "model.synthetix.spot_synth_bought_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_synth_sold_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_registered_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_cancelled_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_order_committed_arbitrum_mainnet": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"], "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.blocks_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.block", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"], "model.synthetix.core_vault_debt_arbitrum_sepolia": ["model.synthetix.blocks_arbitrum_sepolia", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["model.synthetix.blocks_arbitrum_sepolia", "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"], "model.synthetix.core_rewards_distributed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_usd_burned_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"], "model.synthetix.core_market_registered_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_account_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"], "model.synthetix.core_deposited_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"], "model.synthetix.core_usd_minted_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"], "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.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_pool_created_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"], "model.synthetix.core_vault_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.core_liquidation_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_delegation_updated_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"], "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_committed_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"], "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_synth_bought_arbitrum_sepolia": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"], "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.blocks_base_mainnet": ["source.synthetix.raw_base_mainnet.block", "source.synthetix.raw_base_mainnet.blocks_parquet"], "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_claimed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"], "model.synthetix.core_market_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"], "model.synthetix.core_pool_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"], "model.synthetix.core_vault_debt_base_mainnet": ["model.synthetix.blocks_base_mainnet", "source.synthetix.raw_base_mainnet.core_get_vault_debt"], "model.synthetix.core_withdrawn_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"], "model.synthetix.core_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"], "model.synthetix.core_vault_liquidation_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"], "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_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_account_created"], "model.synthetix.core_usd_burned_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"], "model.synthetix.core_usd_minted_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"], "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_rewards_distributed_base_mainnet": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"], "model.synthetix.perp_account_liquidation_attempt_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"], "model.synthetix.perp_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"], "model.synthetix.perp_interest_charged_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"], "model.synthetix.perp_position_liquidated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_previous_order_expired_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"], "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_market_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"], "model.synthetix.perp_interest_rate_updated_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"], "model.synthetix.perp_account_created_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"], "model.synthetix.perp_collateral_modified_base_mainnet": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"], "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.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.spot_synth_registered_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_cancelled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_bought_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_settled_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_sold_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"], "model.synthetix.spot_order_committed_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_wrapped_base_mainnet": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_unwrapped_base_mainnet": ["source.synthetix.raw_base_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.core_delegation_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"], "model.synthetix.core_deposited_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_deposited"], "model.synthetix.core_account_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_account_created"], "model.synthetix.core_usd_burned_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"], "model.synthetix.core_usd_minted_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"], "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_rewards_distributed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"], "model.synthetix.core_vault_collateral_base_sepolia": ["model.synthetix.blocks_base_sepolia", "source.synthetix.raw_base_sepolia.core_get_vault_collateral"], "model.synthetix.core_rewards_claimed_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"], "model.synthetix.core_market_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"], "model.synthetix.core_pool_created_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"], "model.synthetix.core_vault_debt_base_sepolia": ["model.synthetix.blocks_base_sepolia", "source.synthetix.raw_base_sepolia.core_get_vault_debt"], "model.synthetix.core_withdrawn_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"], "model.synthetix.core_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"], "model.synthetix.core_vault_liquidation_base_sepolia": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"], "model.synthetix.perp_interest_rate_updated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"], "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_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_position_liquidated_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"], "model.synthetix.perp_previous_order_expired_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"], "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_market_created_base_sepolia": ["source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"], "model.synthetix.buyback_processed_base_sepolia": ["source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"], "model.synthetix.spot_order_committed_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"], "model.synthetix.spot_synth_wrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"], "model.synthetix.spot_synth_unwrapped_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"], "model.synthetix.spot_synth_registered_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"], "model.synthetix.spot_order_cancelled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"], "model.synthetix.spot_synth_bought_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"], "model.synthetix.spot_order_settled_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"], "model.synthetix.spot_synth_sold_base_sepolia": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"], "seed.synthetix.base_sepolia_reward_distributors": [], "seed.synthetix.arbitrum_sepolia_reward_distributors": [], "seed.synthetix.base_mainnet_reward_distributors": [], "seed.synthetix.arbitrum_mainnet_reward_distributors": [], "seed.synthetix.base_mainnet_tokens": [], "seed.synthetix.arbitrum_sepolia_tokens": [], "seed.synthetix.arbitrum_mainnet_tokens": [], "seed.synthetix.base_sepolia_tokens": [], "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_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_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_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.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.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_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"], "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.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.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_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"], "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_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_core_pool_collateral_arbitrum_mainnet": [], "model.synthetix.fct_pool_issuance_arbitrum_mainnet": ["model.synthetix.fct_pool_issuance_hourly_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_pool_pnl_hourly_arbitrum_mainnet": ["model.synthetix.fct_core_apr_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_account_delegation_arbitrum_mainnet": [], "model.synthetix.fct_core_market_updated_arbitrum_mainnet": [], "model.synthetix.fct_core_apr_arbitrum_mainnet": [], "model.synthetix.fct_core_pools_arbitrum_mainnet": [], "model.synthetix.fct_pool_rewards_arbitrum_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"], "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": [], "model.synthetix.fct_spot_markets_arbitrum_mainnet": [], "model.synthetix.fct_spot_atomics_arbitrum_mainnet": ["model.synthetix.fct_synth_supply_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_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_market_updated_arbitrum_sepolia": [], "model.synthetix.fct_core_apr_arbitrum_sepolia": [], "model.synthetix.fct_core_pools_arbitrum_sepolia": [], "model.synthetix.fct_pool_rewards_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": [], "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": [], "model.synthetix.fct_pool_issuance_arbitrum_sepolia": ["model.synthetix.fct_pool_issuance_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_pool_pnl_hourly_arbitrum_sepolia": ["model.synthetix.fct_core_apr_arbitrum_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"], "model.synthetix.fct_core_account_delegation_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_spot_atomics_arbitrum_sepolia": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"], "model.synthetix.fct_synth_supply_arbitrum_sepolia": [], "model.synthetix.fct_prices_base_mainnet": ["model.synthetix.fct_prices_hourly_base_mainnet"], "model.synthetix.fct_prices_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_core_apr_base_mainnet": [], "model.synthetix.fct_core_vault_collateral_base_mainnet": [], "model.synthetix.fct_pool_issuance_base_mainnet": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"], "model.synthetix.fct_pool_rewards_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"], "model.synthetix.fct_pool_issuance_hourly_base_mainnet": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"], "model.synthetix.fct_core_market_updated_base_mainnet": [], "model.synthetix.fct_pool_rewards_base_mainnet": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"], "model.synthetix.fct_pool_pnl_hourly_base_mainnet": ["model.synthetix.fct_core_apr_base_mainnet"], "model.synthetix.fct_core_account_delegation_base_mainnet": [], "model.synthetix.fct_core_pool_delegation_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_core_pool_collateral_base_mainnet": [], "model.synthetix.fct_core_pools_base_mainnet": [], "model.synthetix.fct_perp_previous_order_expired_base_mainnet": [], "model.synthetix.fct_perp_accounts_base_mainnet": [], "model.synthetix.fct_perp_interest_charged_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_orders_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_pnl_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_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_market_history_base_mainnet": ["model.synthetix.fct_prices_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_buyback_hourly_base_mainnet": [], "model.synthetix.fct_perp_tracking_stats_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_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_market_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": [], "model.synthetix.fct_perp_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_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_keeper_stats_hourly_base_mainnet": ["model.synthetix.fct_perp_keeper_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_account_stats_daily_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.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_core_pool_delegation_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_pool_collateral_base_sepolia": [], "model.synthetix.fct_core_pools_base_sepolia": [], "model.synthetix.fct_core_apr_base_sepolia": [], "model.synthetix.fct_pool_issuance_base_sepolia": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"], "model.synthetix.fct_pool_rewards_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"], "model.synthetix.fct_pool_issuance_hourly_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"], "model.synthetix.fct_core_market_updated_base_sepolia": [], "model.synthetix.fct_pool_rewards_base_sepolia": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"], "model.synthetix.fct_pool_pnl_hourly_base_sepolia": ["model.synthetix.fct_core_apr_base_sepolia"], "model.synthetix.fct_core_account_delegation_base_sepolia": [], "model.synthetix.fct_perp_pnl_base_sepolia": [], "model.synthetix.fct_perp_collateral_modified_base_sepolia": [], "model.synthetix.fct_perp_liq_account_base_sepolia": ["model.synthetix.fct_perp_stats_hourly_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_market_history_base_sepolia": ["model.synthetix.fct_prices_base_sepolia"], "model.synthetix.fct_perp_previous_order_expired_base_sepolia": [], "model.synthetix.fct_perp_accounts_base_sepolia": [], "model.synthetix.fct_perp_interest_charged_base_sepolia": [], "model.synthetix.fct_perp_orders_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_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_buyback_daily_base_sepolia": [], "model.synthetix.fct_buyback_hourly_base_sepolia": [], "model.synthetix.fct_perp_market_stats_daily_base_sepolia": [], "model.synthetix.fct_perp_keeper_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_hourly_base_sepolia": ["model.synthetix.fct_perp_tracking_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_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_tracking_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_spot_atomics_base_sepolia": ["model.synthetix.fct_synth_supply_base_sepolia"], "model.synthetix.fct_synth_supply_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.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_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_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_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_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_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.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_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_vault_debt_arbitrum_mainnet": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"], "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_vault_collateral_arbitrum_mainnet": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_prices_arbitrum_mainnet"], "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_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_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_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_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.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_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_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.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_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_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_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.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_vault_debt_arbitrum_sepolia": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"], "model.synthetix.core_vault_collateral_arbitrum_sepolia": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_prices_arbitrum_sepolia"], "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_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_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_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_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_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_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.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_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_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_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_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.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_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.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_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_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.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.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_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_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_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_debt_base_mainnet": ["model.synthetix.fct_perp_pnl_base_mainnet", "model.synthetix.fct_pool_debt_base_mainnet"], "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_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_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_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_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_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_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_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_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.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_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_interest_charged_base_mainnet": ["model.synthetix.fct_perp_interest_charged_base_mainnet"], "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_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_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_market_created_base_mainnet": ["model.synthetix.fct_perp_markets_base_mainnet"], "model.synthetix.perp_interest_rate_updated_base_mainnet": [], "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.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_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.buyback_processed_base_mainnet": ["model.synthetix.fct_buyback_base_mainnet"], "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"], "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_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_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_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_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_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_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.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.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_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_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_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_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_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_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_vault_collateral_base_sepolia": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_prices_base_sepolia"], "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_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_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_vault_debt_base_sepolia": ["model.synthetix.fct_perp_pnl_base_sepolia", "model.synthetix.fct_pool_debt_base_sepolia"], "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_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_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.perp_interest_rate_updated_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_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_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_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_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_market_created_base_sepolia": ["model.synthetix.fct_perp_markets_base_sepolia"], "model.synthetix.buyback_processed_base_sepolia": ["model.synthetix.fct_buyback_base_sepolia"], "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_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_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_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.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_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_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_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"], "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.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.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"], "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_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.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.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.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"], "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_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_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_base_mainnet_block_number.bb1b2f53c2": [], "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40": [], "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.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_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": [], "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5": [], "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b": [], "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.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_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": [], "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 From 5a071796a619210d99744cd28746b38166a8420b Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 18 Jul 2024 14:14:27 -0600 Subject: [PATCH 2/5] add action --- .github/workflows/docs.yml | 36 ++++++++++++++++++++ transformers/synthetix/profiles/profiles.yml | 28 +++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..3f37a64e --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,36 @@ +name: documentation + +on: [push, pull_request, workflow_dispatch] + +permissions: + contents: write + +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up python + uses: actions/setup-python@v3 + with: + python-version: 3.10.11 + - name: Install python dependencies + run: | + cd transformers && pip install -r requirements.txt + - name: Install dbt dependencies + run: | + cd synthetix && dbt deps + - name: Build docs + run: | + dbt docs generate --profiles-dir profiles --profile synthetix-host + env: + PG_HOST: ${{ secrets.PG_HOST }} + PG_PASSWORD: ${{ secrets.PG_PASSWORD }} + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + with: + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: target + force_orphan: true \ No newline at end of file diff --git a/transformers/synthetix/profiles/profiles.yml b/transformers/synthetix/profiles/profiles.yml index 87d57b6a..a7da3be8 100644 --- a/transformers/synthetix/profiles/profiles.yml +++ b/transformers/synthetix/profiles/profiles.yml @@ -25,3 +25,31 @@ synthetix: connect_timeout: 10 retries: 1 threads: 4 + +synthetix-host: + target: prod + outputs: + prod: + type: postgres + host: {{ env_var('PG_HOST') }} + user: analytics + password: "{{ env_var('PG_PASSWORD') }}" + port: 23798 + dbname: analytics + schema: prod + keepalives_idle: 0 + connect_timeout: 10 + retries: 1 + threads: 4 + prod-op: + type: postgres + host: localhost + user: analytics + password: "{{ env_var('PG_PASSWORD') }}" + port: 23798 + dbname: analytics + schema: prod + keepalives_idle: 0 + connect_timeout: 10 + retries: 1 + threads: 4 From 13ed71511a536c8a8f0df8c17222a9f6178809de Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 18 Jul 2024 14:16:16 -0600 Subject: [PATCH 3/5] fix path --- .github/workflows/docs.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3f37a64e..36f848aa 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,14 @@ name: documentation -on: [push, pull_request, workflow_dispatch] +# on all pull requests +# on pushes to the main branch +on: + push: + branches: + - main + pull_request: + branches: + - main permissions: contents: write @@ -19,7 +27,7 @@ jobs: cd transformers && pip install -r requirements.txt - name: Install dbt dependencies run: | - cd synthetix && dbt deps + cd transformers/synthetix && dbt deps - name: Build docs run: | dbt docs generate --profiles-dir profiles --profile synthetix-host From 7dbdd228f7a04c8de06ea9cc6aea8b768984df8a Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 18 Jul 2024 14:19:47 -0600 Subject: [PATCH 4/5] update path --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 36f848aa..5190e18d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,7 +30,7 @@ jobs: cd transformers/synthetix && dbt deps - name: Build docs run: | - dbt docs generate --profiles-dir profiles --profile synthetix-host + cd transformers/synthetix && dbt docs generate --profiles-dir profiles --profile synthetix-host env: PG_HOST: ${{ secrets.PG_HOST }} PG_PASSWORD: ${{ secrets.PG_PASSWORD }} From d57cdda3ea8aa85190547faae7c4510998002351 Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 18 Jul 2024 14:22:56 -0600 Subject: [PATCH 5/5] fix profile --- transformers/synthetix/profiles/profiles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transformers/synthetix/profiles/profiles.yml b/transformers/synthetix/profiles/profiles.yml index a7da3be8..b059154d 100644 --- a/transformers/synthetix/profiles/profiles.yml +++ b/transformers/synthetix/profiles/profiles.yml @@ -31,7 +31,7 @@ synthetix-host: outputs: prod: type: postgres - host: {{ env_var('PG_HOST') }} + host: "{{ env_var('PG_HOST') }}" user: analytics password: "{{ env_var('PG_PASSWORD') }}" port: 23798